Gregory Sanders
0ed009fbfd
assettag -> assetcommitment
2017-04-02 14:30:01 -04:00
Mark Friedenbach
287421e031
TODO: Reminder to add issuance information to the JSON-RPC response
2017-04-02 14:30:01 -04:00
Mark Friedenbach
d081aeda5e
f "CT: Turn CTxOut::vchNonceCommitment into a CConfidentialCommitment subclass"
2017-04-02 14:30:01 -04:00
Mark Friedenbach
22d1f49c0b
[Hard-Fork] CT/CA: Put the asset surjection proof, value range proof, and issuance rangeproofs under the witness commitment
2017-04-02 14:30:01 -04:00
Mark Friedenbach
889a05fdd4
Segwit: Rename CTransaction::GetWitnessHash() -> CTransaction::GetHashWithWitness()
...
The upstream name of GetWitnessHash() is very confusing as it is not a hash of the witness data for the transaction, but rather a hash of the full serialization of the transaction including witness data. This goes beyond confusing to downright wrong with CT/CA where the witness hash will be a hash tree of witness data (rangeproofs, surjectionproofs, script signatures, etc.) and NOT have any transaction data.
2017-04-02 14:28:28 -04:00
Gregory Sanders
7fddf61e92
Allow FillOutputs to continue on failure to deblind output
2017-04-02 14:28:24 -04:00
Gregory Sanders
a144f600e8
Revamp BlindOutputs
2017-04-02 14:28:24 -04:00
Mark Friedenbach
cd6b2929c8
CT: Turn CTxOut::vchNonceCommitment into a CConfidentialCommitment subclass
...
Note: This changes the serialization of the nonce commitment, from an arbitrary length vector to an either 1 (null) or 33 (commitment) byte fixed format.
2017-04-02 14:28:18 -04:00
Mark Friedenbach
7c35c08302
CT/CA: Unify CTxOutAsset and CTxOutValue into a single templated abstract base class
2017-04-02 14:28:18 -04:00
Mark Friedenbach
9db43d8b48
CT: Move CTxOutValue::vchNonceCommitment into CTxOut
2017-04-02 14:28:18 -04:00
Mark Friedenbach
203fa8f7a9
CT: Move CTxOutValue::vchRangeproof into CTxOut
2017-04-02 14:28:18 -04:00
Mark Friedenbach
96221efaab
CT: CTxOutValue::IsAmount() -> CTxOutValue::IsExplicit()
2017-04-02 14:28:18 -04:00
Mark Friedenbach
e2077844f6
CA: CTxOutAsset::vchAssetTag -> CTxOutAsset::vchCommitment
2017-04-02 14:28:18 -04:00
Mark Friedenbach
343bf9176f
CA: CTxOutAsset::IsAsset() -> CTxOutAsset::IsExplicit()
2017-04-02 14:28:18 -04:00
Mark Friedenbach
8135667a12
CA: CTxOutAsset::IsAssetCommitment() -> CTXOutAsset::IsCommitment()
2017-04-02 14:28:18 -04:00
Mark Friedenbach
944d602526
CA: Switch CTxOutAsset::GetAssetID() to return a constant reference to the stored asset ID rather than perform unnecessary memory reallocation.
2017-04-02 14:28:18 -04:00
Mark Friedenbach
83456d6037
CA: CAssetID -> CAsset
2017-04-02 14:28:18 -04:00
Mark Friedenbach
6e8f1b7247
CA: uint256 -> CAssetID
2017-04-02 14:25:06 -04:00
Gregory Sanders
f86b32e80d
getrawtransaction: scriptpubkey type is 'fee'
2017-04-02 14:23:35 -04:00
Karl-Johan Alm
99009edd7b
[rpc] createrawtransaction: Fix docs and rename nValue to amount, to match utxo dictionaries.
2017-04-02 14:23:35 -04:00
instagibbs
1d0fd6cc2c
createrawtransaction: Add fee value to txn
2017-04-02 14:21:30 -04:00
instagibbs
47987d8f95
Use CAmountMap, 0 values fine
2017-04-02 14:21:30 -04:00
Gregory Sanders
9b7d5e2385
Issuance skeleton: show asset generation in decoderaw
2017-04-02 14:21:30 -04:00
Gregory Sanders
f97475b4e5
Allow arbitrary assets for fees
2017-04-02 14:21:30 -04:00
Gregory Sanders
d9ab0e3edf
Replace nTxFee with explicit output fees
2017-04-02 14:21:30 -04:00
Gregory Sanders
9ed0174ab5
Wallet: Support arbitrary assets
2017-04-02 14:18:27 -04:00
Gregory Sanders
05bc6db085
Consensus: Add asset type to CTxOut and validation
2017-04-02 14:05:25 -04:00
Gregory Sanders
58164875aa
Correctly unblind outputs in FillOutputBlinds
2017-03-15 09:33:46 -04:00
Eric Martindale
1150d0e9fc
Add IFDEF around blind transactions
2017-02-02 10:59:01 -05:00
instagibbs
2e0973a4b3
added functions to rpc logging
2017-02-02 10:58:55 -05:00
Matt Corallo
d999fc009f
Default-refuse to sendrawtransaction an unblinded, but could be, tx
2017-02-02 10:58:50 -05:00
Pieter Wuille
9bfc2c813d
Better algorithm for determining whether a dummy output is needed
2017-02-02 10:58:49 -05:00
Pieter Wuille
683dd3cdbe
Wallet updates for CT
...
A few fixes from Jerzy Kozera <jerzy.kozera@gmail.com>
2017-02-02 10:58:48 -05:00
Luke Dashjr
438b0d89ae
Consensus support for blinded amounts
2017-02-02 10:58:48 -05:00
Luke Dashjr
3ad6bbe651
Refactors in anticipation of blinded values
2017-02-02 10:58:48 -05:00
Matt Corallo
3e00c9084c
Require input values in createrawtransaction
2017-02-02 10:58:48 -05:00
Matt Corallo
49f24bc6e2
Add explicit fee field to transaction
2017-02-02 10:58:48 -05:00
Matt Corallo
6c945bea44
Tweak SignatureChecker to expose a bit more about the transaction
2017-02-02 10:58:47 -05:00
NicolasDorier
745eb678ef
[RPC] signrawtransaction can sign P2WSH
2016-06-22 15:43:01 +02:00
Pieter Wuille
605e8473a7
BIP143: Signing logic
2016-06-22 15:43:01 +02:00
Pieter Wuille
2b1f6f9ccf
BIP141: Other consensus critical limits, and BIP145
...
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
2016-06-22 15:43:00 +02:00
Johnson Lau
7c4bf779e8
[RPC] Return witness data in blockchain RPCs
...
Includes RPC field name changes by Luke-jr.
2016-06-22 15:43:00 +02:00
Pieter Wuille
3dd410294d
BIP143: Verification logic
...
Includes simplifications by Eric Lombrozo.
2016-06-22 15:43:00 +02:00
Pieter Wuille
0ef1dd3e11
Refactor script validation to observe amounts
...
This is a preparation for BIP143 support.
2016-06-22 15:43:00 +02:00
Pieter Wuille
449f9b8deb
BIP141: Witness program
2016-06-22 15:42:59 +02:00
Pieter Wuille
7030d9eb47
BIP144: Serialization, hashes, relay (sender side)
...
Contains refactorings by Eric Lombrozo.
Contains fixup by Nicolas Dorier.
Contains cleanup of CInv::GetCommand by Alex Morcos
2016-06-22 15:42:59 +02:00
Jonas Schnelli
6fa950a573
[RPC] Fix createrawtx sequence number unsigned int parsing
2016-06-08 15:43:28 +02:00
Wladimir J. van der Laan
75ec320a0d
Merge #8153 : [rpc] fundrawtransaction feeRate: Use BTC/kB
...
fa7f4f5 [rpc] fundrawtransaction feeRate: Use BTC/kB (MarcoFalke)
faf82e8 [rpc] fundrawtransaction: Fix help text and interface (MarcoFalke)
2016-06-08 14:14:54 +02:00
Wladimir J. van der Laan
79004d4ae6
Merge #7957 : [RPC][Bitcoin-TX] Add support for sequence number
...
ae357d5 [Bitcoin-Tx] Add tests for sequence number support (Jonas Schnelli)
e59336f [bitcoin-tx] allow to set nSequence number over the in= command (Jonas Schnelli)
a946bb6 [RPC] createrawtransaction: add option to set the sequence number per input (Jonas Schnelli)
2016-06-07 18:25:13 +02:00
Wladimir J. van der Laan
9b6a48c2e9
Merge #8118 : Reduce unnecessary hashing in signrawtransaction
...
bd0f413 Reduce unnecessary hashing in signrawtransaction (Jonas Nick)
2016-06-07 14:34:31 +02:00