Questions regarding the Code in Bitshares

Started by VoR0220, January 29, 2015, 04:46:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vikram

Quote from: VoR0220 on January 29, 2015, 10:36:39 PM
Quote from: vikram on January 29, 2015, 10:32:48 PM
The _v1, _v2, etc. files and functions are the old logic before a hardfork. If you want only the latest code you should look at develop branch; or you can also look at toolkit branch which is the most recent common ancestor between master (the last release) and develop.

Thanks a ton Vikram. Can I message you if I have any more questions?

Yeah

VoR0220

Quote from: vikram on January 29, 2015, 10:32:48 PM
The _v1, _v2, etc. files and functions are the old logic before a hardfork. If you want only the latest code you should look at develop branch; or you can also look at toolkit branch which is the most recent common ancestor between master (the last release) and develop.

Thanks a ton Vikram. Can I message you if I have any more questions?
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

vikram

The _v1, _v2, etc. files and functions are the old logic before a hardfork. If you want only the latest code you should look at develop branch; or you can also look at toolkit branch which is the most recent common ancestor between master (the last release) and develop.

VoR0220

In the case of chain_interface.cpp and chain_interface_v2.cpp which one should I look at to know what is the primary one bitshares is running on?
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

VoR0220

Quote from: vikram on January 29, 2015, 05:50:46 PM
For A-D, in particular take a look at the chain_database and chain_interface files.

Thanks a ton! That helps a lot.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

vikram

For A-D, in particular take a look at the chain_database and chain_interface files.

VoR0220

Quote from: abit on January 29, 2015, 07:24:24 AM
Quote from: VoR0220 on January 29, 2015, 04:46:33 AM
I want to start a project off of Bitshares but I need to know where to find functions in the files (I can't find a lot of good documentation which makes it hard to figure out what is what).

A) Where is the blockchain?
B) Where can I find code regarding Delegates both in terms of their functions and in terms of their organization structure (The 101 randomization function)?
C) Where can I find code regarding voting?
D) Where can I find code regarding Delegated Proof of Stake?

Sorry if this seems a little lazy, I'd just rather cut to the chase and ask the people who know this code inside and out already so I can begin studying it and creating.
They're in YOUR_SOURCE_PATH/libraries/blockchain/.

+5% Thank you.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

abit

Quote from: VoR0220 on January 29, 2015, 04:46:33 AM
I want to start a project off of Bitshares but I need to know where to find functions in the files (I can't find a lot of good documentation which makes it hard to figure out what is what).

A) Where is the blockchain?
B) Where can I find code regarding Delegates both in terms of their functions and in terms of their organization structure (The 101 randomization function)?
C) Where can I find code regarding voting?
D) Where can I find code regarding Delegated Proof of Stake?

Sorry if this seems a little lazy, I'd just rather cut to the chase and ask the people who know this code inside and out already so I can begin studying it and creating.
They're in YOUR_SOURCE_PATH/libraries/blockchain/.
BitShares committee member: abit
BitShares witness: in.abit

VoR0220

I want to start a project off of Bitshares but I need to know where to find functions in the files (I can't find a lot of good documentation which makes it hard to figure out what is what).

A) Where is the blockchain?
B) Where can I find code regarding Delegates both in terms of their functions and in terms of their organization structure (The 101 randomization function)?
C) Where can I find code regarding voting?
D) Where can I find code regarding Delegated Proof of Stake?

Sorry if this seems a little lazy, I'd just rather cut to the chase and ask the people who know this code inside and out already so I can begin studying it and creating.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads