After 1.5 not all nodes will sync to Genesis. So it’s possible to call chain_get_block on a node that doesn’t have this certain block. Currently, the SDK will throw Returned block does not have a matching hash. which is good. But to make it more convenient, we can give the user possibility to provide a list of peers, and SDK will then try every provided node in order before throwing mentioned message.
After 1.5 not all nodes will sync to Genesis. So it’s possible to call
chain_get_block
on a node that doesn’t have this certain block. Currently, the SDK will throwReturned block does not have a matching hash
. which is good. But to make it more convenient, we can give the user possibility to provide a list of peers, and SDK will then try every provided node in order before throwing mentioned message.