Skip to content

Initial stab at a "main loop" for downloading and parsing bitcoin blocks #910

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 96 commits into from
Feb 7, 2019

Conversation

jcnelson
Copy link
Member

@jcnelson jcnelson commented Feb 3, 2019

There's still some stuff to do here -- in particular, checking the validity of transactions. But, we can download, parse, and commit burnchain transactions and generate consensus hashes.

… serializers for Secp256k1PublicKey. Also, update new location of BitcoinNetworkType
… trait to instantiate history rows from individual burn chain operations; implement helpers to insert and select rows of burn chain operations and convert them to and from database rows; implement basic DB tests
…o describe the order in which their column fields should be SELECT'ed
… an address and public key type in order to make it possible for the rust compiler to correctly assign impls when processing transactions
…o the rust compiler can figure out how to match impls when classifying and checking transactions in the burndb code
…know whether or not it arrived on time (per SIP 001); also, make it so this op has a type parameter for both the address and public key so the rust compiler can assign impls when classifying transactions
…nloader and block parser so we can chain them together
…s, fetch headers, fetch blocks, parse blocks, and (soon) feed them to the burn db
…handlers *consume* messages, and make it so we use Arc<...> for messages (so we can pass them between threads without having to copy them)
@jcnelson
Copy link
Member Author

jcnelson commented Feb 6, 2019

Thanks! I'm in favor of your compromise approach -- we merge every week to develop (e.g. Wednesdays), and then create issues for each unaddressed item in the comments.

@jcnelson jcnelson merged commit 9249c1f into develop Feb 7, 2019
@blockstack-devops
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Dec 6, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants