Author

Topic: Low level blockchain&network dev thread? (Read 581 times)

sr. member
Activity: 318
Merit: 260
November 08, 2015, 06:02:51 PM
#3
Thanks I'm going to implement what they did in python for block-sync.
staff
Activity: 3458
Merit: 6793
Just writing some code
November 08, 2015, 05:47:23 PM
#2
I've been looking over the "reference implementation" GIT repo: https://github.com/bitcoin/bitcoin/tree/master/src

I didn't see any network configuration data. Anyone know how implementations set the packaged peer-server list the blockchain is pulled from first start? Are there official peers used by all "full" wallets?

I'm working with getBlockTemplate in Python(link) and want to research low-level blockchain interactions.
Check chainparams.cpp. The DNS seeds are hardcoded into the program. The DNS seeds will return nodes that Bitcoin Core can connect to. It then connects to those nodes given by the seed nodes. It will then choose one of those nodes and systematically request all of the blocks from it. There are no official peers used by full nodes. Any peer can be the initial download peer of any node.
sr. member
Activity: 318
Merit: 260
November 08, 2015, 05:41:40 PM
#1
I've been looking over the "reference implementation" GIT repo: https://github.com/bitcoin/bitcoin/tree/master/src

I didn't see any network configuration data. Anyone know how implementations set the packaged peer-server list the blockchain is pulled from first start? Are there official peers used by all "full" wallets?

I'm working with getBlockTemplate in Python(link) and want to research low-level blockchain interactions.
Jump to: