BitShares Forum
Main => Technical Support => Topic started by: 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.
-
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/.
-
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.
-
For A-D, in particular take a look at the chain_database and chain_interface files.
-
For A-D, in particular take a look at the chain_database and chain_interface files.
Thanks a ton! That helps a lot.
-
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?
-
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.
-
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?
-
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