Author Topic: Questions regarding the Code in Bitshares  (Read 2173 times)

0 Members and 1 Guest are viewing this topic.

Offline 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.

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

Yeah

Offline VoR0220

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?
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline 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.

Offline 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?
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline VoR0220

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

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

Offline vikram

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

Offline 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.
They're in YOUR_SOURCE_PATH/libraries/blockchain/.

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

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
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

Offline 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.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads