chainsyncer

Blockchain syncer driver
Info | Log | Files | Refs | LICENSE

stack.texi (1104B)


      1 @node chainsyncer-stack
      2 @section Syncer driver stack
      3 
      4 The chainsyncer package defines a generic syncer stack intended to cover most circumstances.
      5 
      6 The default implementation is single-threaded. This means that block and block transactions will be processed sequentially.
      7 
      8 It is defined as follows, in order of inheritance:
      9 
     10 @table @code
     11 @item chainsyncer.driver.base.Syncer
     12 Base syncer object, providing base properties and flow control
     13 @item chainsyncer.driver.poll.BlockPollSyncer
     14 Polling block retriever, defining the main loop and callback logic
     15 @item chainsyncer.driver.head.HeadSyncer
     16 Applied open-ended syncer settings, and defines the processing of a single block
     17 @item chainsyncer.driver.history.HistorySyncer
     18 Builds on chainsyncer.driver.head.HeadSyncer, and differs only in the fact that block not found is considered an error, and reaching the target block is considered a normal termination of the syncer loop.
     19 @end table
     20 
     21 Additionally, asynchronous driver modules exist in the codebase. These are still considered as experimental, and will only be documented once considered semi-stable.
     22