Skip to content

Audit Merkle Proof #51

@dgarcia360

Description

@dgarcia360

Trees stored per block:

  • Transactions
  • State tree (merkle path not implemented in REST) (treat in a separate issue)
  • Receipts

Proposal

Check if a transaction is included in a block

blockHttp
    .getTransactionMerkleAuditProof(height: uint, hash: string)
    .subscribe( merkleAuditProof => {    
        // Returns Observable<MerkleAuditProof>   
        console.log(merkleAuditProof.isConsistent()););
     }

Repeat for receipts.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions