Skip to content

Receiver synchronization

Joel Lehtonen edited this page Aug 25, 2014 · 1 revision

Current implementation

Performing zlib full flush every 15 seconds. No transaction lifetime (so a block may contain very old transactions which are never received if the device has been on for short period of time.

Goal

Resync every 1 minute. Does zlib full flush and asks data sources such as currency exchange rate service to provide important data immediately. After that normal data source sinking continues.

Expiration in 30 minutes. Transactions sent earlier than that are resent if they get inside a block. Order book entries which are older than 30 minutes are refreshed.

Serializer initializes resync but implementing proper expiration is responsibility of the data source.

Clone this wiki locally