scrypt-ts
Advanced tools
Comparing version 0.1.5-beta.5 to 0.1.5-beta.6
@@ -25,3 +25,3 @@ import "reflect-metadata"; | ||
/** locking script */ | ||
scriptCode: ByteString; | ||
script: ByteString; | ||
/** amount in satoshis */ | ||
@@ -48,3 +48,3 @@ value: bigint; | ||
/** version number of [transaction]{@link https://wiki.bitcoinsv.io/index.php/Bitcoin_Transactions#General_format_of_a_Bitcoin_transaction} */ | ||
nVersion: ByteString; | ||
version: ByteString; | ||
/** the specific UTXO spent by this transaction input */ | ||
@@ -57,7 +57,7 @@ utxo: UTXO; | ||
/** sequence number of [transaction input]{@link https://wiki.bitcoinsv.io/index.php/Bitcoin_Transactions#Format_of_a_Transaction_Input} */ | ||
nSequence: bigint; | ||
sequence: bigint; | ||
/** double-SHA256 hash of the serialization of some/all output amount with its locking script, see [hashOutputs]{@link https://github.com/bitcoin-sv/bitcoin-sv/blob/master/doc/abc/replay-protected-sighash.md#hashoutputs} */ | ||
hashOutputs: ByteString; | ||
/** locktime of [transaction]{@link https://wiki.bitcoinsv.io/index.php/Bitcoin_Transactions#General_format_of_a_Bitcoin_transaction} */ | ||
nLocktime: bigint; | ||
locktime: bigint; | ||
/** [SIGHASH flag]{@link https://wiki.bitcoinsv.io/index.php/SIGHASH_flags} used by this input */ | ||
@@ -64,0 +64,0 @@ sigHashType: SigHashType; |
@@ -413,6 +413,6 @@ "use strict"; | ||
this.ctx = { | ||
nVersion: functions_1.SigHash.nVersion(txPreimage), | ||
version: functions_1.SigHash.nVersion(txPreimage), | ||
utxo: { | ||
value: functions_1.SigHash.value(txPreimage), | ||
scriptCode: functions_1.SigHash.scriptCode(txPreimage), | ||
script: functions_1.SigHash.scriptCode(txPreimage), | ||
outpoint: { | ||
@@ -425,5 +425,5 @@ txid: outpoint.slice(0, 32 * 2), | ||
hashSequence: functions_1.SigHash.hashSequence(txPreimage), | ||
nSequence: functions_1.SigHash.nSequence(txPreimage), | ||
sequence: functions_1.SigHash.nSequence(txPreimage), | ||
hashOutputs: functions_1.SigHash.hashOutputs(txPreimage), | ||
nLocktime: functions_1.SigHash.nLocktime(txPreimage), | ||
locktime: functions_1.SigHash.nLocktime(txPreimage), | ||
sigHashType: functions_1.SigHash.sigHashType(txPreimage), | ||
@@ -430,0 +430,0 @@ }; |
{ | ||
"name": "scrypt-ts", | ||
"version": "0.1.5-beta.5", | ||
"version": "0.1.5-beta.6", | ||
"description": "A toolset for building sCrypt smart contract applications on Bitcoin SV network written in typescript.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
228078
4898