Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - monsterer

Pages: 1 ... 3 4 5 6 7 8 9 [10] 11 12 13
136
General Discussion / Yield question
« on: December 06, 2014, 07:58:17 pm »
Does yield on a bitAsset purchase come from the interest paid by the short on the other side of the trade - and therefore stop being paid when that short covers?

137
Technical Support / assert when trying to register an account [resolved]
« on: December 04, 2014, 08:50:34 pm »
I've created a new account but I'm getting an assert trying to register it:

Code: [Select]
getStackTrace@app.js:26:8827
 ○ request@app.js:30:24118
 ○ wallet_account_register@app.js:31:6814
 ○ ok@app.js:28:629
 ○ app.js:7:20403
 ○ app.js:7:27250
 ○ $eval@app.js:6:48397
 ○ $apply@app.js:6:48680
 ○ app.js:7:27237
 ○ dispatch@app.js:3:14328
 ○ handle@app.js:3:11078
10 assert_exception: Assert Exception
key->has_private_key():
    {}
    bitshares  wallet.cpp:1577 bts::wallet::wallet::get_private_key

    {"addr":"BTSXCMw97WpDc671qDApio3DvshQ7qtqMiJyt"}
    bitshares  wallet.cpp:1579 bts::wallet::wallet::get_private_key

    {}
    bitshares  transaction_ledger.cpp:1242 bts::wallet::detail::wallet_impl::sign_transaction

    {"account_to_register":"monsterer.pay","public_data":{"gui_data":{"website":""}},"pay_with_account_name":"monsterer.pay","delegate_pay_rate":255}
    bitshares  wallet.cpp:2913 bts::wallet::wallet::register_account

    {"account_name":"monsterer.pay","data":{"gui_data":{"website":""}}}
    bitshares  wallet_api.cpp:616 bts::client::detail::client_impl::wallet_account_register

    {}
    bitshares  common_api_client.cpp:1315 bts::rpc_stubs::common_api_client::wallet_account_register

Any idea what could be going on here?

138
I'm trying to write a script to regularly withdraw pay from my delegate into an account not hosted on my server, for security reasons.

When I do wallet_account_balance I get 0.01 BTS, so I presume the delegate pay isn't listed this way?

wallet_delegate_withdraw_pay requires an amount, but there doesn't appear to be any way to know what the total is. What am I missing?

139
Technical Support / strange serialisation of map in RPC JSON data
« on: December 02, 2014, 04:34:39 pm »
I'm looking at net_delegate_votes in a transaction returned by the RPC call blockchain_get_transaction. It returns data like this:

Code: [Select]
"net_delegate_votes":[ 
         [ 
            1302,
            { 
               "votes_for":-60000
            }
         ],

which appears to be an array of arrays of objects of different types. My best guess was that this is supposed to be a map and indeed, looking at the c++ side,https://github.com/BitShares/bitshares/blob/82012fac67ec12ed2cdb0f15603d1d49f1a86299/libraries/blockchain/include/bts/blockchain/transaction_evaluation_state.hpp defined this member as unordered_map<account_id_type, vote_state> net_delegate_votes which is a map.

My question is, shouldn't this be serialised as (the equivalent of) a JSON associative array?

e.g.

Code: [Select]
"net_delegate_votes":
{"1302":{ "votes_for":-60000}}, ...}

Currently it's hard to deserialise this back into a map.

Cheers, Paul.


140
Meta / Please can you add a delegate projects board?
« on: December 02, 2014, 11:52:49 am »
Is it possible to get a delegate projects board added to the forum?

There could be a separate sub-board for each project so that we can share ideas and so interested parties can follow our development progress.

For example, there has been a fair amount of talk about web-wallets / mobile wallets recently, it would be great to have a place just to hash out the associated ideas/problems/requirements with the other developers, so we can share work and not re-invent each other's wheels, so to speak

141
General Discussion / Proof of stake represents unbiased value proposition?
« on: November 28, 2014, 12:21:55 pm »
Just thinking aloud to myself. Here are my assumptions:

* Bitcoin price is backed by mining electricity cost
* Speculators cause wild fluctuations around this price
* The actual usefulness* of bitcoin as a payment system adds extra value increasing the price

So, if you take away (or at least reduce the massively) the mining cost, what you're left with is the actual usefulness* of the currency backing the price and speculation around that value.

Therefore, POS (and by association DPOS) systems are valued almost solely on the usefulness of the currency.

Thoughts?

* Usefulness of a currency I'm broadly defining as the sum of all things you can do with it, like paying for bills, products, keeping your money safe, etc etc

142
I have tried everything, but all I get is a gateway timeout error trying to authenticate with the JSON RPC API server. The HTTP one works, but not the JSON one.

Any example of this working?

143
General Discussion / Delegate project boards?
« on: November 28, 2014, 09:16:03 am »
Is it possible to get a delegate projects board added to the forum?

There could be a separate sub-board for each project so that we can share ideas and so interested parties can follow our development progress.

For example, there has been a fair amount of talk about web-wallets / mobile wallets recently, it would be great to have a place just to hash out the associated ideas/problems/requirements with the other developers, so we can share work and not re-invent each other's wheels, so to speak :)

144
Hi all,

This is the MetaExchange 100% pay rate delegate voting campaign. Delegate name: dev-metaexchange.monsterer

What is MetaExchange?

MetaExchange is a website designed to lower the barrier to entry of owning and trading Bitshares to zero. It will do this by:

* Providing peer to peer on-ramps for BTS, bitUSD and the other major Bitshares assets.

* Acting as a web-wallet, allowing people to get started with Bitshares, without having to download the client and wait hours for it to sync just to see what all the fuss is about.

* Providing a slick trading interface and market view which will be familiar to forex/bitcoin traders

Who are we?

monsterer:

My name is Paul Firth, I have been a professional c++ software developer for 10 years. On this project, I am partnering with Shentist who is helping me shape the vision for MetaExchange and also providing the funding for my delegate registration.

I also run a blog about software development: http://wildbunny.co.uk/blog and a limited company (Wildbunny) based in the UK.

shentist:

My name is Frank Ahrens, I am in software support. I am happy that Paul and I could find common ground to combine our visions to produce something that we think will help BitShares as a whole greatly. On this project I'm helping with the vision and handling the legal and business side.

What is the planned release schedule?

* Release 1 will be a Bitshares market viewer, allowing users to browse markets and assets in a setting familiar to any trader who might have used a bitcoin exchange

* Release 2 will add the peer-to-peer on-ramp system, which will allow users to post bid/asks for trading BTS and the major Bitshares assets for bitcoin. In this system, MetaExchange will act as a escrow agent to facilitate safe peer to peer exchange of assets for bitcoin.

* Release 3 will be web-wallet and Fiat on-ramps adding to the peer-to-peer exchange, possibly by cooperation with Fidor Bank AG.

Peer-to-peer exchange has a number of great advantages, like providing an easy way for Bitshares users to get large quantities of BTS or assets without directly moving the market. We also won't hold any private keys, because we believe strongly in security of our user's funds.

How far through development are you?

MetaExchange has been in part-time development for a little while now, but it's tough to get enough free time to work on it actively, which is why we're campaigning for a 100% delegate. I estimate that we're about 50% of the way into release 1.

What is the delegate name?

dev-metaexchange.monsterer

In closing, we literally can't do this project without your support. We need your vote! Thank you for your consideration.

Paul aka monster / Frank aka Shentist.

Github repo

https://github.com/wildbunny/metaexchange

P.s. here are some screen-shots of the development build to whet your appetite:



145
Technical Support / transaction ids
« on: November 23, 2014, 01:49:09 pm »
wallet_account_transaction_history lists what appear to be partial or truncated transaction ids. For example, I have d4d012f9 listed from that command. However, this doesn't appear to be enough to, for example, look up this transaction on bitsharesblocks.com.

Calling blockchain_get_transaction d4d012f9, I get a json dump of that transaction, where I can see it was in block 726271. blockchain_get_block 726271, shows me that my transaction was the only one in the block, and the full TXID is d4d012f9a517a5f7b1bdf0a8eeb39a3c24865df6 which starts with the partial id returned from wallet_account_transaction_history .

My question: how can I get this full TXID, or a list of full TXIDs from my wallet?

146
Technical Support / Possible to chain transactions?
« on: November 22, 2014, 07:09:43 pm »
I can't find anything in the docs describing the format of a transfer transaction. I'm trying to work out if its possible to chain two 0 confirmation transactions together, so they either both get confirmed, or both not?

147
Prior to yesterdays 'event', the orderbook on bitrex (the only exchange trading ethercoin) looked like this:


Code: [Select]
bids                       asks
0.00020    20              0.00030       15
0.00010    10              0.00035       20
0.00005    200             0.08          100

'Market cap' was 0.00030 BTC x 1000000 = 0.15 USD x 1,000,000 = $150,000

This figure is just the best price X coin supply and ignores the fact that the buy side of the book only contains 0.015 BTC.

Then, some fat fingered trader comes along and places a market buy order of value 0.0115 BTC, which eats into the sell side of the book, leaving it looking like this:

Code: [Select]
bids                       asks
0.00020    20              0.08             100
0.00010    10             
0.00005    200     

Now, the 'market cap' becomes 0.08 BTC X 1000000 = 30 USD x 1,000,000 = $30,000,000

So, 'market cap' increased by 200 times, and yet there was only a buy order of roughly $4.

The mistake here is the market cap valuation using the best price. In markets that are this lacking in liquidity (like all cryptocurrency markets are), it is totally meaningless to calculate the market cap like this. To do it right, you need to clear the available supply against the buy side of the orderbook, aggregated for all market places.

note: these orderbook examples and trade sizes were simplified for illustration purposes.

Cheers, Paul.

148
General Discussion / Neolithically simple alternative bitasset peg
« on: November 17, 2014, 06:51:49 pm »
The current bitasset pegging system is so fantastically complex because the assets are traded on a free market, which can be manipulated by any other market participants.

A neolithically simple alternative way to peg a bit asset to an external price would be to remove the other participants from the equation.

Create a different class of asset, which can only be bought and sold by the issuer. The issuer maintains a buy and sell price with a spread which takes into account adverse selection costs.

Issues:

100% trust is required of the issuer. Trust that they don't sell you the asset and then raise their buy price to $1M USD. Trust that they have enough liquidity to cope with adverse selection costs, so they're able to buy back the assets they sold you after the price goes up.

Now, take that idea and make the blockchain the issuer.

You then gain 100% transparency on the algorithm controlling the prices. You'd be able to see the 'balance' of the blockchain in advance to be sure it has liquidity reserves.

In addition, bitshares is ideally placed to implement this idea, since the necessary price feeds are already a fundamental component.

The only real remaining issue is designing the algorithm to set the bid/ask prices - perhaps something like the kalman filter (http://www.r-bloggers.com/the-kalman-filter-for-financial-time-series/) could be used over the feed data.

Thoughts?

149
I often see pay rate estimates in USD created by looking at the current 'price' of BTS and just doing a straight multiply to arrive at a number. However, this gives a distorted view because the top price often has so little volume associated with it.

Indeed the entire buy side order book at BTER.com for BTS/USD has less than $200!

This means, to cash out to USD, you have to go from BTS->BTC->USD.

Looking at the BTS/BTC market in BTER, a sell of 12,960,000 BTS (101 delegates at 100% pay rate for 1 month) would clean out the order book completely, and result in a slippage of around 500 BTC total value.

Long story short, on BTER, 100% pay, for 1 month, in USD at current market cap of 35M USD after slippage = ~$200

Obviously this is worst case, since I'm only considering 1 exchange here...


150
Stakeholder Proposals / Bitshares client launch config
« on: November 15, 2014, 05:06:31 pm »
Preparing my delegate, I'm at a bit of a loss for how to launch the bitshares client, unlock the wallet and set the unlock time to something decent via the command line.

I need to nohup the process in order for it to keep running when the bash session ends, but if I do that I cannot type any commands in, and there appears to be a very limited set of command line parameters which the client reads as it starts up?

Pages: 1 ... 3 4 5 6 7 8 9 [10] 11 12 13