Skip to content

Commit ce2174e

Browse files
Add protobuf-backed proof support: [ECR-3666] (#1293)
Add a MapProof and a ListProof that are wrappers around the corresponding protobuf messages. The wrappers will allow us to extend the set of operations post 1.0. Make all proof constructors in ProofMap and ProofList return the new classes (#getProof etc.). Separate integration tests for proof creation (getProofX) and verification (verifyProofX). Remove no-longer used by native fromNative. Remove obsolete classes supporting tree-like list proof representation.
1 parent cec51d7 commit ce2174e

29 files changed

+375
-1523
lines changed

exonum-java-binding/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1515

1616
## [Unreleased]
1717

18+
### Added
19+
- Support of creation of Protobuf-based proofs for maps and lists.
20+
Such proofs can be easily serialized using Protocol Buffers
21+
and sent to the light clients.
22+
See `ProofMapIndexProxy#getProof` and `MapProof`;
23+
`ProofListIndexProxy.getProof`, `ProofListIndexProxy.getRangeProof` and
24+
`ListProof`.
25+
26+
### Removed
27+
- Classes supporting no longer used tree-like list proof representation.
28+
1829
## 0.9.0-rc2 - 2019-12-17
1930

2031
### Fixed

exonum-java-binding/common/src/main/java/com/exonum/binding/common/proofs/list/ListProofBranch.java

Lines changed: 0 additions & 64 deletions
This file was deleted.

exonum-java-binding/common/src/main/java/com/exonum/binding/common/proofs/list/ListProofElement.java

Lines changed: 0 additions & 77 deletions
This file was deleted.

exonum-java-binding/common/src/main/java/com/exonum/binding/common/proofs/list/ListProofHashCalculator.java

Lines changed: 0 additions & 151 deletions
This file was deleted.

exonum-java-binding/common/src/main/java/com/exonum/binding/common/proofs/list/ListProofHashNode.java

Lines changed: 0 additions & 53 deletions
This file was deleted.

exonum-java-binding/common/src/main/java/com/exonum/binding/common/proofs/list/ListProofNode.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)