Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

GetSingleBlockByIndex does not work for new blocks in proxy mode #35

Open
nkcr opened this issue Dec 2, 2020 · 1 comment
Open

GetSingleBlockByIndex does not work for new blocks in proxy mode #35

nkcr opened this issue Dec 2, 2020 · 1 comment

Comments

@nkcr
Copy link

nkcr commented Dec 2, 2020

In proxy mode, if I perform a GetSingleBlockByIndex for blocks that were not originally in the cached database, the result will fail.

@ineiti ineiti changed the title GetSingleBlockByIndex does not work for new bocks in proxy mode GetSingleBlockByIndex does not work for new blocks in proxy mode Dec 2, 2020
@ineiti
Copy link
Member

ineiti commented Dec 2, 2020

From what I see in the code, this is expected behaviour: https://github.com/dedis/cothority/blob/master/skipchain/skipchain.go#L695

If you want to change this behaviour, you'll need to open an issue and a PR against dedis/cothority...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants