Documentation
¶
Index ¶
- Variables
- func ApplyBlockTransactions(txs []*tx.Tx, bip30Enable bool, scriptCheckFlags uint32, needCheckScript bool, ...) (coinMap *utxo.CoinsMap, bundo *undo.BlockUndo, err error)
- 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 CheckRegularTransaction(transaction *tx.Tx) error
- func CheckSequenceLocks(height int32, time int64) bool
- func CombineSignature(transaction *tx.Tx, prevPubKey *script.Script, scriptSig *script.Script, ...) (*script.Script, error)
- func ContextualCheckTransaction(transaction *tx.Tx, nBlockHeight int32, nLockTimeCutoff int64) error
- func ContextualCheckTransactionForCurrentBlock(transaction *tx.Tx, flags int) error
- func ContextureCheckBlockTransactions(txs []*tx.Tx, blockHeight int32, blockLockTime int64) error
- func GetSigOpCountWithP2SH(transaction *tx.Tx, coinMap *utxo.CoinsMap) int
- func GetTransactionSigOpCount(transaction *tx.Tx, flags uint32, coinMap *utxo.CoinsMap) int
- func SignRawTransaction(transaction *tx.Tx, redeemScripts map[string]string, ...) (err error)
- func UpdateTxCoins(tx *tx.Tx, coinMap *utxo.CoinsMap, txundo *undo.TxUndo, height int32)
Constants ¶
This section is empty.
Variables ¶
View Source
var ScriptVerifyChan chan struct { // contains filtered or unexported fields }
Functions ¶
func ApplyBlockTransactions ¶
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 CheckRegularTransaction ¶
CheckRegularTransaction transaction service will use this func to check transaction before accepting to mempool
func CheckSequenceLocks ¶
func CombineSignature ¶
func GetSigOpCountWithP2SH ¶
GetSigOpCountWithP2SH starting BIP16(Apr 1 2012), we should check p2sh
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.