Documentation ¶
Index ¶
Constants ¶
View Source
const SPECIAL_CROSS_TYPE = "crossimport"
special script from evm to meer
View Source
const SPECIAL_CROSS_VAL txscript.ScriptClass = 255
Variables ¶
This section is empty.
Functions ¶
func GetScriptType ¶
func GetScriptType(scriptTyp string) txscript.ScriptClass
Types ¶
type CLTVPubKeyHashScript ¶
type CLTVPubKeyHashScript struct {
LockTime int64
}
func (*CLTVPubKeyHashScript) Sign ¶
func (this *CLTVPubKeyHashScript) Sign(privKey string, mtx *types.Transaction, inputIndex int, param *params.Params) error
type CrossImportScript ¶
type CrossImportScript struct { }
func (*CrossImportScript) Sign ¶
func (this *CrossImportScript) Sign(privKey string, mtx *types.Transaction, inputIndex int, param *params.Params) error
evm to meer lock script
type PubKeyScript ¶
type PubKeyScript struct { }
func (*PubKeyScript) Sign ¶
func (this *PubKeyScript) Sign(privKey string, mtx *types.Transaction, inputIndex int, param *params.Params) error
type ScriptTypeRegular ¶
type ScriptTypeRegular struct { }
func (*ScriptTypeRegular) Sign ¶
func (this *ScriptTypeRegular) Sign(privKey string, mtx *types.Transaction, inputIndex int, param *params.Params) error
type TxSignBase ¶
type TxSignBase interface {
Sign(privateKey string, mtx *types.Transaction, inputIndex int, param *params.Params) error
}
func NewTxSignObject ¶
func NewTxSignObject(scripttype txscript.ScriptClass, lockTime int64) TxSignBase
Click to show internal directories.
Click to hide internal directories.