Documentation ¶
Index ¶
- Constants
- func ApplyBlockTransactions(txs []*tx.Tx, bip30Enable bool, scriptCheckFlags uint32, needCheckScript bool, ...) (coinMap *utxo.CoinsMap, bundo *undo.BlockUndo, err error)
- func AreInputsStandard(transaction *tx.Tx, coinsMap *utxo.CoinsMap) bool
- func CalculateLockPoints(transaction *tx.Tx, flags uint32) (lp *mempool.LockPoints)
- func CalculateSequenceLocks(transaction *tx.Tx, coinsMap *utxo.CoinsMap, flags uint32) (height int32, time int64)
- func CheckBlockTransactions(txs []*tx.Tx, maxBlockSigOps uint64) error
- func CheckInputsMoney(transaction *tx.Tx, coinsMap *utxo.CoinsMap, spendHeight int32) (err error)
- func CheckSequenceLocks(height int32, time int64) bool
- func CheckTxBeforeAcceptToMemPool(txn *tx.Tx) (*mempool.TxEntry, error)
- func CombineSignature(transaction *tx.Tx, prevPubKey *script.Script, scriptSig *script.Script, ...) (*script.Script, error)
- func ContextualCheckTransaction(txn *tx.Tx, nBlockHeight int32, nLockTimeCutoff, mediaTimePast int64) error
- func ContextualCheckTransactionForCurrentBlock(transaction *tx.Tx, flags int) error
- func ContextureCheckBlockTransactions(txs []*tx.Tx, blockHeight int32, blockLockTime, mediaTimePast int64) error
- func GetTransactionSigOpCount(txn *tx.Tx, flags uint32, coinMap *utxo.CoinsMap) int
- func ScriptVerifyInit()
- func TxAddCoins(tx *tx.Tx, coinMap *utxo.CoinsMap, height int32)
- func TxSpendCoins(tx *tx.Tx, coinMap *utxo.CoinsMap, txundo *undo.TxUndo)
- type ScriptVerifyJob
- type ScriptVerifyResult
- type SignError
Constants ¶
View Source
const (
MaxScriptVerifyJobNum = 50000
)
Variables ¶
This section is empty.
Functions ¶
func ApplyBlockTransactions ¶
func AreInputsStandard ¶ added in v0.0.3
func CalculateLockPoints ¶
func CalculateLockPoints(transaction *tx.Tx, flags uint32) (lp *mempool.LockPoints)
CalculateLockPoints calculate lockpoint(all ins' max time or height at which it can be spent) of transaction
func CalculateSequenceLocks ¶
func CheckBlockTransactions ¶
CheckBlockTransactions block service use these 3 func to check transactions or to apply transaction while connecting block to active chain
func CheckInputsMoney ¶
func CheckSequenceLocks ¶
func CheckTxBeforeAcceptToMemPool ¶ added in v0.0.3
func CombineSignature ¶
func ScriptVerifyInit ¶ added in v0.0.3
func ScriptVerifyInit()
Types ¶
type ScriptVerifyJob ¶ added in v0.0.3
type ScriptVerifyResult ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.