issues
search
LiskArchive
/
lisk-sdk
🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k
stars
457
forks
source link
Add ability to save inclusion proofs at every new block
#9197
Closed
ishantiw
closed
3 months ago
ishantiw
commented
4 months ago
What was the problem?
This PR resolves #9194
How was it solved?
Add config to take keepInclusionProofsForHeights and inclusionProofKeys
Add DB update to get/set/delete inclusionProofs
Add handler in new block event to save inclusion proofs
Add endpoint for chain to get inclusion proofs by height
How was it tested?
Run interop examples and call endpoint
chain_getInclusionProofsAtHeight
with height to see the proofs being stored at new bock
What was the problem?
This PR resolves #9194
How was it solved?
How was it tested?
chain_getInclusionProofsAtHeight
with height to see the proofs being stored at new bock