5 func (Coinbase) typ() string { return "coinbase1" }
6 func (c *Coinbase) writeForHash(w io.Writer) {
7 //mustWriteForHash(w, c.WitnessDestination)
10 func (c *Coinbase) SetDestination(id *Hash, val *AssetAmount, pos uint64) {
11 c.WitnessDestination = &ValueDestination{
18 // NewCoinbase creates a new Coinbase.
19 func NewCoinbase() *Coinbase {