Documentation ¶
Index ¶
- Variables
- type Check
- func (check *Check) Hash() types.Hash
- func (check *Check) HashWithoutLock() types.Hash
- func (check *Check) LockPubKey() ([]byte, error)
- func (check *Check) Sender() (types.Address, error)
- func (check *Check) SetSignature(sig []byte)
- func (check *Check) Sign(prv *ecdsa.PrivateKey) error
- func (check *Check) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidSig = errors.New("invalid transaction v, r, s values")
)
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct { Nonce []byte ChainID types.ChainID DueBlock uint64 Coin types.CoinSymbol Value *big.Int Lock *big.Int V *big.Int R *big.Int S *big.Int }
func DecodeFromBytes ¶
func (*Check) HashWithoutLock ¶ added in v0.5.0
func (*Check) LockPubKey ¶
func (*Check) SetSignature ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.