6 "github.com/vapor/encoding/blockchain"
9 type BlockWitness struct {
10 // Witness is a vector of arguments for validating this block.
14 func (bw *BlockWitness) writeTo(w io.Writer) error {
15 _, err := blockchain.WriteVarstrList(w, bw.Witness)
19 func (bw *BlockWitness) readFrom(r *blockchain.Reader) (err error) {
20 bw.Witness, err = blockchain.ReadVarstrList(r)