github.com/devwanda/aphelion-staking@v0.33.9/lite2/rpc/proof.go (about) 1 package rpc 2 3 import ( 4 "github.com/devwanda/aphelion-staking/crypto/merkle" 5 ) 6 7 func defaultProofRuntime() *merkle.ProofRuntime { 8 prt := merkle.NewProofRuntime() 9 prt.RegisterOpDecoder( 10 merkle.ProofOpSimpleValue, 11 merkle.SimpleValueOpDecoder, 12 ) 13 return prt 14 }