qdrvm / kagome

Kagome - C++20 implementation of Polkadot Host
https://kagome.readthedocs.io
Apache License 2.0
158 stars 33 forks source link

[Feature Request]: DHT Authority discovery record creation time #2108

Closed kamilsa closed 2 months ago

kamilsa commented 4 months ago

Component

Network

Feature Description

Extend the DHT authority discovery records with a signed creation time, so that nodes can determine which record is newer and always decide to prefer the newer records to the old ones.

References and additional Information

https://polkadot-fellows.github.io/RFCs/new/0091-dht-record-creation-time.html https://github.com/polkadot-fellows/RFCs/pull/91 https://github.com/paritytech/polkadot-sdk/pull/3786