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.

Messages - pc

Pages: 1 2 3 4 [5] 6 7 8 9 10 11 12 ... 95
Another question when the node downloads the blocks and save them on the disk is the information there FULL and just some options are loaded into the ram?
So if i decide to include another account to TRACK_ACCOUNTS options and i restart the node - do i need to download again the blockchain or its needed only to upload the new information to the ram?

The on-disk information is complete. To make use of that when adding another account to track (for example), you must start the node with the --replay-blockchain option.

and what is that error about?
" Multiple limit match problem (issue 338) occurred at block #22743248"
Just ignore it.

Bitspark / Re: Bitshares getting noticed
« on: April 30, 2018, 12:04:48 pm »

There is only only place in the backend that will throw the assertion failure:

The function is_valid_name is defined in the same file slightly higher up, and checks if the account name to be registered conforms to the blockchain rules. The account "liberty-academy" mentioned in the OP is acceptable. @crockett83 didn't mention what name he tried to register.

Since the OP's problem was fixed by restarting the faucet the problem needs to be analyzed there.

We've created 3 new smart-assets: INDEXSPX (S&P 500), INDEXDJI (Dow Jones Industrial Average), INDEXNASDAQ with a precision of 8, paired them with BTS.

Should we push 23,932 BTS or 23,932 / 0.144462 (USD/BTS rate)

Since you have paired them with BTS you *should* calculate and publish the index price in BTS, i. e. 23,932 / 0.144462 .

Your original worker clearly asked for 8k USD .. if the markets are weired and have a 10% premium on bitUSD, then so be it.
The BTS holders are free to take advantage of the weirdness of the markets too, the risk shouldn't be on your end.

So, I would recommend that you simply buy 8k bitUSD from the markets.

Else, thanks a ton for your contributions

+1 !

Technical Support / Re: Understand the Bitshares-core code
« on: March 27, 2018, 06:21:59 pm »
Good questions.

You might want to start looking at database::_apply_transaction (in db_block.cpp). Like all core code, this is in the libraries/chain module.
A few levels deeper you will see that for every blockchain operation there is an evaluator. Evaluators are grouped together in files, e. g. market_evaluator.cpp contains all evaluators for market-related operations.

It's a bit difficult to follow the execution paths. because some of the logic is hidden in static_variant objects that use the visitor pattern to find the relevant code for the specific object inside the static_variant. I'd suggest to skip over the static_variant stuff when reading the code, it's a bit tricky to understand.

Being a C programmer turned Java programmer turned C++ programmer myself, I'd like to warn you about a few traps. C++ reads almost like Java, but there are a few significant differences:

* Destructors are important in C++
* By default, methods are called by-value, not by-reference.
* Method lookup works differently in C++, in particular wrt overloaded methods.

Stakeholder Proposals / Re: Proxy: bitcrab - make the ecosystem grow
« on: March 25, 2018, 08:27:12 am »
Good move.

It is correct that you can't publish price feeds until you've been voted in. That's one of the reasons why you have a testnet witness - check that your setup works on testnet, then it should also work on mainnet.

Missing a block once in a while is normal. If it happened at the full hour, it could be due to but I think that's unlikely on testnet. Possibly caused by network glitches. Also check that your server clock is in sync.

Edit: Maintenance happens every 2 minutes on testnet, not at the full hour.

General Discussion / Re: Binance Dexathon - Discussion
« on: March 22, 2018, 09:49:55 pm »
Assuming that the BBF applied for that hackathon, what reasons would there be for Binance to
not fork the BitShares Code and instead use the existing blockchain?

* forking is not trivial
* skilled and experienced (!) developers are hard to find
* we have an existing ecosystem (community, users) that can't be forked so easily
* BTS already has value, development of codebase basically pays for itself

IMO we have much to gain and little to lose from applying.

General Discussion / Re: Shares of Nasdaq at Bitshares
« on: March 21, 2018, 05:35:51 pm »
While I find @nasdaq's initiative applaudable, I'd still like to point out that these assets are by no means trustless. They still belong to their original issuer, and they still have many permissions set that would allow the issuer to rip off holders of these assets.

In that light I expect witnesses and committee members to be extra careful and take appropriate measures before supporting them.

The actual witness nodes are not (or at least should not be) allow incoming connections from the general internet. They typically run in a very limited configuration, for performance and security reasons.

Many witnesses are running additional nodes as seeds, and sometimes as full (API) nodes as well. Witness pay is quite generous, I think we can reasonably expect witnesses to run a full node as well.

Technical Support / Re: Failed to broadcast the transaction:
« on: March 17, 2018, 08:42:30 pm »
It means BTWTY had a black swan, you can't currently borrow it.

General Discussion / Re: When stop loss
« on: March 17, 2018, 10:34:21 am »

Technical Support / Re: re lifetime membership
« on: March 17, 2018, 10:30:09 am »
The "registrar" and "affiliate referrer" settings on your account have no longer any meaning since it was upgraded to LTM. You have been set as your own Lifetime Referrer, which means you receive 80% of your own fees as cashback.

If you create accounts yourself, you set *their* registrar and/or referrer to your own account, to receive cashback from their fees.
If you use your account to refer users to another registrar (like OpenLedger), that registrar will set your account as "affiliate referrer" for accounts created through your referrals.

The committee-account is holding short positions. Why?

These are from bitAssets being auto-revived after a black swan. See BSIP-18.

Where can I see the accumulation of incoming market fees?

Market fees are not listed separately. The asset object holds them in "accumulated_fees", together with the tx fees that were paid in the asset in exchange for funds from the fee pool.
You can look at the trade volume of that asset, and calculate the resulting fees.

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