trust-net / dag-lib-go

Go library for DAG protocol
MIT License
3 stars 0 forks source link

Endorsement: protocol to handle peer sync #18

Open gnulib opened 6 years ago

gnulib commented 6 years ago

define a protocol to handle handshake and sync with peer node at the endorsement layer defined in #14.

Q: With ordering and sequencing at the submitter level, we no longer have any canonical chain — how will peer nodes sync based on their DAG?
A: Simplest and brute-force approach is to sync each individual submitter strand upon connect request. However, a more optimized approach is to sync during new submitter block announcement. This has following advantages: