#peer #sync #block #blockchain #response #header #peer-connection

vapcore-sync

Tetsy Vapory (VapCore) Blockchain Synchronization

Show the crate…

1 stable release

1.12.0 Apr 5, 2021

#26 in #peer-connection


Used in 2 crates

GPL-3.0 license

5.5MB
34K SLoC

vapcore-sync

Blockchain sync module Implements vapory protocol version 63 as specified here: https://github.com/vaporyco/wiki/wiki/Vapory-Wire-Protocol

needed to make the procedural macro MallocSizeOf to work

(Strategy, Blockchain Downloader, Blockchain Synchronization Implementation of Vapory Protocol, Propagating Data to Peers, Requesting Data from Peers, Supplying Data in Response to Peer Requests, Handling Peer Responses, Matching Packet IDs and Protocol, Light Client Synchronization of Header Chain, Header Download State Machine, Light Decoding & Verifying Header Responses, Private Transaction Handling, Synchronization Snapshot Service to Download & Verify Block Chunks, Peer Connection Management and Blockchain Client I/O Interface for Synchronization Handler, Transaction Statistics)


lib.rs:

Blockchain sync module Implements vapory protocol version 63 as specified here: https://github.com/vaporyco/wiki/wiki/Vapory-Wire-Protocol

Dependencies

~39–53MB
~894K SLoC