Skip to content

Conversation

jtraub91
Copy link
Owner

@jtraub91 jtraub91 commented Mar 7, 2025

Major changes happening in p2p.py and beyond; enough to warrant a new (minor) release.

At a minimum, this release will include:

  • initial block download and ongoing validation

TODO:

  • manage incoming / outgoing connections and peer discovery
  • block and tx relay
  • implement tx mempool
  • implement mining
  • broadcast transactions
  • track and index ordinal ranges
  • activate segwit and taproot

Related:

WIP create PSBT, parse PSBT, test bip174, plus blacken repository, and a Coinjoin example!
…andler debug, other misc

squashme

squashme wip log unhandled message queue

ibd block download, confusing wip, squashme
…merkle root function for odd length list of txns, compute n_bits from target, utilize config-dir arg, and more WIP
…d to and improve/fix functions related to target / difficulty / bits, implement testnet p2p that if no blocks found in >=20min difficulty is set to 0
…getblocks requests, + some code organization WIP

squashme wip
…ed functions and sig related function in bits.utils to bits.pem and bits.script, respectively
…xoset commit, signal handlers for gracefully exiting, some sanity checks on node startup, more trace log statements
…|str] in witness_ser, remove and leave placeholder for witness script decoding on CLI
…nto main_loop, consolidate connect_peers to connect_to_peer / connect_from_peer, remove reindex and assumevalid, and other misc edits
@jtraub91 jtraub91 self-assigned this Jul 14, 2025
jtraub91 added 9 commits July 20, 2025 16:47
…e which need not be the same during utxo removals, see #25
…, split accept and connect block functions, retrofit with ephemeral cursor logic and allow for injecting cursorto enable transaction rollback mechanism when needed - future block revert to be reimplemented by inferring changes from block data instead of revert table log, and if concurrent db operations are needed (e.g. for peer table) can be refactored to use multiple sqlite dbs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant