Define a Poll trait as an adaptor on BlockSource
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 1 Feb 2021 07:42:27 +0000 (23:42 -0800)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 26 Feb 2021 06:54:41 +0000 (00:54 -0600)
SPV clients need to poll one or more block sources for the best chain
tip and to retrieve related chain data. The Poll trait serves as an
adaptor interface for BlockSource. Implementations may define an
appropriate polling strategy.


No differences found