diff --git a/data/transactions/msgp_gen.go b/data/transactions/msgp_gen.go index 7cc22db08a..242ce4a657 100644 --- a/data/transactions/msgp_gen.go +++ b/data/transactions/msgp_gen.go @@ -3767,51 +3767,51 @@ func (z *SignedTxn) MarshalMsg(b []byte) (o []byte) { o = msgp.Require(b, z.Msgsize()) // omitempty: check for empty values zb0001Len := uint32(5) - var zb0001Mask uint8 /* 6 bits */ + var zb0001Mask uint8 /* 7 bits */ if (*z).Lsig.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x2 + zb0001Mask |= 0x4 } if (*z).Msig.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x4 + zb0001Mask |= 0x8 } if (*z).AuthAddr.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x8 + zb0001Mask |= 0x10 } if (*z).Sig.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x10 + zb0001Mask |= 0x20 } if (*z).Txn.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x20 + zb0001Mask |= 0x40 } // variable map header, size zb0001Len o = append(o, 0x80|uint8(zb0001Len)) if zb0001Len != 0 { - if (zb0001Mask & 0x2) == 0 { // if not empty + if (zb0001Mask & 0x4) == 0 { // if not empty // string "lsig" o = append(o, 0xa4, 0x6c, 0x73, 0x69, 0x67) o = (*z).Lsig.MarshalMsg(o) } - if (zb0001Mask & 0x4) == 0 { // if not empty + if (zb0001Mask & 0x8) == 0 { // if not empty // string "msig" o = append(o, 0xa4, 0x6d, 0x73, 0x69, 0x67) o = (*z).Msig.MarshalMsg(o) } - if (zb0001Mask & 0x8) == 0 { // if not empty + if (zb0001Mask & 0x10) == 0 { // if not empty // string "sgnr" o = append(o, 0xa4, 0x73, 0x67, 0x6e, 0x72) o = (*z).AuthAddr.MarshalMsg(o) } - if (zb0001Mask & 0x10) == 0 { // if not empty + if (zb0001Mask & 0x20) == 0 { // if not empty // string "sig" o = append(o, 0xa3, 0x73, 0x69, 0x67) o = (*z).Sig.MarshalMsg(o) } - if (zb0001Mask & 0x20) == 0 { // if not empty + if (zb0001Mask & 0x40) == 0 { // if not empty // string "txn" o = append(o, 0xa3, 0x74, 0x78, 0x6e) o = (*z).Txn.MarshalMsg(o) @@ -3979,7 +3979,7 @@ func (z *SignedTxnInBlock) MarshalMsg(b []byte) (o []byte) { o = msgp.Require(b, z.Msgsize()) // omitempty: check for empty values zb0001Len := uint32(15) - var zb0001Mask uint32 /* 19 bits */ + var zb0001Mask uint32 /* 20 bits */ if (*z).SignedTxnWithAD.ApplyData.AssetClosingAmount == 0 { zb0001Len-- zb0001Mask |= 0x10 @@ -3994,51 +3994,51 @@ func (z *SignedTxnInBlock) MarshalMsg(b []byte) (o []byte) { } if (*z).SignedTxnWithAD.ApplyData.ConfigAsset.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x80 + zb0001Mask |= 0x100 } if (*z).SignedTxnWithAD.ApplyData.EvalDelta.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x100 + zb0001Mask |= 0x200 } if (*z).HasGenesisHash == false { zb0001Len-- - zb0001Mask |= 0x200 + zb0001Mask |= 0x400 } if (*z).HasGenesisID == false { zb0001Len-- - zb0001Mask |= 0x400 + zb0001Mask |= 0x800 } if (*z).SignedTxnWithAD.SignedTxn.Lsig.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x800 + zb0001Mask |= 0x1000 } if (*z).SignedTxnWithAD.SignedTxn.Msig.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x1000 + zb0001Mask |= 0x2000 } if (*z).SignedTxnWithAD.ApplyData.CloseRewards.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x2000 + zb0001Mask |= 0x4000 } if (*z).SignedTxnWithAD.ApplyData.ReceiverRewards.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x4000 + zb0001Mask |= 0x8000 } if (*z).SignedTxnWithAD.ApplyData.SenderRewards.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x8000 + zb0001Mask |= 0x10000 } if (*z).SignedTxnWithAD.SignedTxn.AuthAddr.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x10000 + zb0001Mask |= 0x20000 } if (*z).SignedTxnWithAD.SignedTxn.Sig.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x20000 + zb0001Mask |= 0x40000 } if (*z).SignedTxnWithAD.SignedTxn.Txn.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x40000 + zb0001Mask |= 0x80000 } // variable map header, size zb0001Len o = append(o, 0x80|uint8(zb0001Len)) @@ -4058,62 +4058,62 @@ func (z *SignedTxnInBlock) MarshalMsg(b []byte) (o []byte) { o = append(o, 0xa2, 0x63, 0x61) o = (*z).SignedTxnWithAD.ApplyData.ClosingAmount.MarshalMsg(o) } - if (zb0001Mask & 0x80) == 0 { // if not empty + if (zb0001Mask & 0x100) == 0 { // if not empty // string "caid" o = append(o, 0xa4, 0x63, 0x61, 0x69, 0x64) o = (*z).SignedTxnWithAD.ApplyData.ConfigAsset.MarshalMsg(o) } - if (zb0001Mask & 0x100) == 0 { // if not empty + if (zb0001Mask & 0x200) == 0 { // if not empty // string "dt" o = append(o, 0xa2, 0x64, 0x74) o = (*z).SignedTxnWithAD.ApplyData.EvalDelta.MarshalMsg(o) } - if (zb0001Mask & 0x200) == 0 { // if not empty + if (zb0001Mask & 0x400) == 0 { // if not empty // string "hgh" o = append(o, 0xa3, 0x68, 0x67, 0x68) o = msgp.AppendBool(o, (*z).HasGenesisHash) } - if (zb0001Mask & 0x400) == 0 { // if not empty + if (zb0001Mask & 0x800) == 0 { // if not empty // string "hgi" o = append(o, 0xa3, 0x68, 0x67, 0x69) o = msgp.AppendBool(o, (*z).HasGenesisID) } - if (zb0001Mask & 0x800) == 0 { // if not empty + if (zb0001Mask & 0x1000) == 0 { // if not empty // string "lsig" o = append(o, 0xa4, 0x6c, 0x73, 0x69, 0x67) o = (*z).SignedTxnWithAD.SignedTxn.Lsig.MarshalMsg(o) } - if (zb0001Mask & 0x1000) == 0 { // if not empty + if (zb0001Mask & 0x2000) == 0 { // if not empty // string "msig" o = append(o, 0xa4, 0x6d, 0x73, 0x69, 0x67) o = (*z).SignedTxnWithAD.SignedTxn.Msig.MarshalMsg(o) } - if (zb0001Mask & 0x2000) == 0 { // if not empty + if (zb0001Mask & 0x4000) == 0 { // if not empty // string "rc" o = append(o, 0xa2, 0x72, 0x63) o = (*z).SignedTxnWithAD.ApplyData.CloseRewards.MarshalMsg(o) } - if (zb0001Mask & 0x4000) == 0 { // if not empty + if (zb0001Mask & 0x8000) == 0 { // if not empty // string "rr" o = append(o, 0xa2, 0x72, 0x72) o = (*z).SignedTxnWithAD.ApplyData.ReceiverRewards.MarshalMsg(o) } - if (zb0001Mask & 0x8000) == 0 { // if not empty + if (zb0001Mask & 0x10000) == 0 { // if not empty // string "rs" o = append(o, 0xa2, 0x72, 0x73) o = (*z).SignedTxnWithAD.ApplyData.SenderRewards.MarshalMsg(o) } - if (zb0001Mask & 0x10000) == 0 { // if not empty + if (zb0001Mask & 0x20000) == 0 { // if not empty // string "sgnr" o = append(o, 0xa4, 0x73, 0x67, 0x6e, 0x72) o = (*z).SignedTxnWithAD.SignedTxn.AuthAddr.MarshalMsg(o) } - if (zb0001Mask & 0x20000) == 0 { // if not empty + if (zb0001Mask & 0x40000) == 0 { // if not empty // string "sig" o = append(o, 0xa3, 0x73, 0x69, 0x67) o = (*z).SignedTxnWithAD.SignedTxn.Sig.MarshalMsg(o) } - if (zb0001Mask & 0x40000) == 0 { // if not empty + if (zb0001Mask & 0x80000) == 0 { // if not empty // string "txn" o = append(o, 0xa3, 0x74, 0x78, 0x6e) o = (*z).SignedTxnWithAD.SignedTxn.Txn.MarshalMsg(o) @@ -4421,7 +4421,7 @@ func (z *SignedTxnWithAD) MarshalMsg(b []byte) (o []byte) { o = msgp.Require(b, z.Msgsize()) // omitempty: check for empty values zb0001Len := uint32(13) - var zb0001Mask uint16 /* 16 bits */ + var zb0001Mask uint32 /* 17 bits */ if (*z).ApplyData.AssetClosingAmount == 0 { zb0001Len-- zb0001Mask |= 0x8 @@ -4436,43 +4436,43 @@ func (z *SignedTxnWithAD) MarshalMsg(b []byte) (o []byte) { } if (*z).ApplyData.ConfigAsset.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x40 + zb0001Mask |= 0x80 } if (*z).ApplyData.EvalDelta.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x80 + zb0001Mask |= 0x100 } if (*z).SignedTxn.Lsig.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x100 + zb0001Mask |= 0x200 } if (*z).SignedTxn.Msig.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x200 + zb0001Mask |= 0x400 } if (*z).ApplyData.CloseRewards.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x400 + zb0001Mask |= 0x800 } if (*z).ApplyData.ReceiverRewards.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x800 + zb0001Mask |= 0x1000 } if (*z).ApplyData.SenderRewards.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x1000 + zb0001Mask |= 0x2000 } if (*z).SignedTxn.AuthAddr.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x2000 + zb0001Mask |= 0x4000 } if (*z).SignedTxn.Sig.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x4000 + zb0001Mask |= 0x8000 } if (*z).SignedTxn.Txn.MsgIsZero() { zb0001Len-- - zb0001Mask |= 0x8000 + zb0001Mask |= 0x10000 } // variable map header, size zb0001Len o = append(o, 0x80|uint8(zb0001Len)) @@ -4492,52 +4492,52 @@ func (z *SignedTxnWithAD) MarshalMsg(b []byte) (o []byte) { o = append(o, 0xa2, 0x63, 0x61) o = (*z).ApplyData.ClosingAmount.MarshalMsg(o) } - if (zb0001Mask & 0x40) == 0 { // if not empty + if (zb0001Mask & 0x80) == 0 { // if not empty // string "caid" o = append(o, 0xa4, 0x63, 0x61, 0x69, 0x64) o = (*z).ApplyData.ConfigAsset.MarshalMsg(o) } - if (zb0001Mask & 0x80) == 0 { // if not empty + if (zb0001Mask & 0x100) == 0 { // if not empty // string "dt" o = append(o, 0xa2, 0x64, 0x74) o = (*z).ApplyData.EvalDelta.MarshalMsg(o) } - if (zb0001Mask & 0x100) == 0 { // if not empty + if (zb0001Mask & 0x200) == 0 { // if not empty // string "lsig" o = append(o, 0xa4, 0x6c, 0x73, 0x69, 0x67) o = (*z).SignedTxn.Lsig.MarshalMsg(o) } - if (zb0001Mask & 0x200) == 0 { // if not empty + if (zb0001Mask & 0x400) == 0 { // if not empty // string "msig" o = append(o, 0xa4, 0x6d, 0x73, 0x69, 0x67) o = (*z).SignedTxn.Msig.MarshalMsg(o) } - if (zb0001Mask & 0x400) == 0 { // if not empty + if (zb0001Mask & 0x800) == 0 { // if not empty // string "rc" o = append(o, 0xa2, 0x72, 0x63) o = (*z).ApplyData.CloseRewards.MarshalMsg(o) } - if (zb0001Mask & 0x800) == 0 { // if not empty + if (zb0001Mask & 0x1000) == 0 { // if not empty // string "rr" o = append(o, 0xa2, 0x72, 0x72) o = (*z).ApplyData.ReceiverRewards.MarshalMsg(o) } - if (zb0001Mask & 0x1000) == 0 { // if not empty + if (zb0001Mask & 0x2000) == 0 { // if not empty // string "rs" o = append(o, 0xa2, 0x72, 0x73) o = (*z).ApplyData.SenderRewards.MarshalMsg(o) } - if (zb0001Mask & 0x2000) == 0 { // if not empty + if (zb0001Mask & 0x4000) == 0 { // if not empty // string "sgnr" o = append(o, 0xa4, 0x73, 0x67, 0x6e, 0x72) o = (*z).SignedTxn.AuthAddr.MarshalMsg(o) } - if (zb0001Mask & 0x4000) == 0 { // if not empty + if (zb0001Mask & 0x8000) == 0 { // if not empty // string "sig" o = append(o, 0xa3, 0x73, 0x69, 0x67) o = (*z).SignedTxn.Sig.MarshalMsg(o) } - if (zb0001Mask & 0x8000) == 0 { // if not empty + if (zb0001Mask & 0x10000) == 0 { // if not empty // string "txn" o = append(o, 0xa3, 0x74, 0x78, 0x6e) o = (*z).SignedTxn.Txn.MarshalMsg(o)