You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
261 B

  1. package proxy
  2. import (
  3. "github.com/tendermint/tendermint/crypto/merkle"
  4. )
  5. func defaultProofRuntime() *merkle.ProofRuntime {
  6. prt := merkle.NewProofRuntime()
  7. prt.RegisterOpDecoder(
  8. merkle.ProofOpSimpleValue,
  9. merkle.SimpleValueOpDecoder,
  10. )
  11. return prt
  12. }