Karl-Johan Alm
9ffa0c67fa
[doc] HelpExampleCLI should use the right binary name.
2017-06-16 12:02:17 -04:00
Gregory Sanders
e757c31481
UnblindOutput: belt and suspenders check for all-blinded output
2017-06-16 12:02:17 -04:00
Gregory Sanders
eccff6b060
Refactor verifyamounts to accept all 4 (un)blinded configurations
2017-06-16 12:02:17 -04:00
Mark Friedenbach
3836bad390
CA: Add implementation of asset derivation functions.
2017-06-16 12:02:17 -04:00
Mark Friedenbach
31db963aef
CA: Add header definitions for asset tag derivation functions.
2017-06-16 12:02:17 -04:00
Mark Friedenbach
3518ae82d6
Add fast Merkle branch functions.
...
A fast Merkle branch uses midstate to perform a single SHA-256 compression per branch, and is not vulnerable to CVE-2012-2459. It produces different hashes though, so can only be used for new hash trees going forward.
2017-06-16 12:02:17 -04:00
Mark Friedenbach
29ad41dd56
Add mistate output to CSHA256.
...
This allows the intermediate state of a SHA-256 run to be saved for future resumption, or in the case of fast Merkle trees to perform a non-padded hash.
2017-06-16 12:02:17 -04:00
Gregory Sanders
cc49c12e0a
Explicit fee outputs: remove extra vData
2017-06-16 12:02:17 -04:00
Mark Friedenbach
fcfcfa7d09
CA: Handle serialization of CAssetIssuance on coinbases correctly.
2017-06-16 12:02:17 -04:00
Mark Friedenbach
a26a684371
CA: Add constructor for CAssetIssuance.
2017-06-16 12:02:17 -04:00
Mark Friedenbach
a6e610307e
CA: Switch to inflation-only issuance, unifying CAssetGeneration and CAssetReissuance in the process, and making serialization simpler overall.
2017-06-16 12:02:17 -04:00
Mark Friedenbach
17075960bc
CA: Remove the issuance/reissuance vectors from CTransaction which are no longer used with the new serialization scheme.
2017-06-16 12:02:17 -04:00
Mark Friedenbach
a6e9b224a5
CA: Add CAssetGeneration and CAssetReissuance fields with serialization
2017-06-16 12:02:17 -04:00
Mark Friedenbach
0061285e0f
[Move Only] Move the output definitions before the input definitions, since the asset stuff in the inputs is going to reference some of the output declarations.
2017-06-16 12:02:17 -04:00
Mark Friedenbach
bdc49c987f
[Move Only] Put the asset definitions after COutPoint
2017-06-16 12:02:17 -04:00
Mark Friedenbach
f45ad32e01
[Move Only] Move CAssetGeneration and CAssetReissuance up above CTxIn because that is where they are going to be used.
2017-06-16 12:02:17 -04:00
Mark Friedenbach
0331fc28ec
[Move Only] Move CTxOutValue to the top of the file since it will be used by the asset generation and reissuance classes.
2017-06-16 12:02:17 -04:00
Gregory Sanders
5421adae70
confidential_transactions.py: remove erroneous set_trace, fix race
2017-06-16 12:02:17 -04:00
Gregory Sanders
95d392f868
wallet.py begin re-activating
2017-06-16 12:02:17 -04:00
Gregory Sanders
15e94ed65a
[MOVE UP] Confidential Assets python testing - no issuance skeleton anymore
2017-06-16 12:02:17 -04:00
Gregory Sanders
49e35dc943
Wallet: fix sendmany with assets
2017-06-16 12:02:17 -04:00
Gregory Sanders
abefb6e1b1
Wallet: fix more tx creation corner cases
2017-06-16 12:02:17 -04:00
Gregory Sanders
a63ef3a95c
Wallet: add filter for listunspent, update help info
2017-06-16 12:02:17 -04:00
Gregory Sanders
97f4bad4a2
Fix wallet accounting and txn construction corner cases
2017-06-16 12:02:17 -04:00
Gregory Sanders
fdd9c9310b
fix txvalidationcache_tests
2017-06-16 12:02:17 -04:00
Gregory Sanders
2543d06ed9
fix rpc_tests for new serialization of explicit fees
2017-06-16 12:02:17 -04:00
Gregory Sanders
4d21f07b06
fix transaction_tests with assets and explicit fee output
2017-06-16 12:02:16 -04:00
Gregory Sanders
979dc877d2
More test fixes, reactivation
2017-06-16 12:02:16 -04:00
Gregory Sanders
127645beb6
fix blind_tests
2017-06-16 12:02:16 -04:00
Gregory Sanders
3d4838f525
BlindOutputs: fixup blinding check at end
2017-06-16 12:02:16 -04:00
Gregory Sanders
2b0d1520b6
BlindOutputs: simplify corner case logic
2017-06-16 12:02:16 -04:00
Gregory Sanders
714e8fc0d0
Rangeproof commits to scriptpubkey
2017-06-16 12:02:16 -04:00
instagibbs
74cb1f5cab
createrawtransaction: Add fee value to txn
2017-06-16 12:02:16 -04:00
instagibbs
c4a8bfaf19
Use CAmountMap, 0 values fine
2017-06-16 12:02:16 -04:00
Jerzy Kozera
26eec02917
Add assetlabel to help message about sendtoaddress
2017-06-16 12:02:16 -04:00
Gregory Sanders
b50bd63055
Fees are standard.
2017-06-16 12:02:16 -04:00
Gregory Sanders
dcc378adae
Allow arbitrary assets for fees
2017-06-16 12:02:16 -04:00
Gregory Sanders
cb2ee26d12
Make sure coinbase has no fees
2017-06-16 12:02:16 -04:00
Gregory Sanders
796072852d
Disallow 0-value fees
2017-06-16 12:02:16 -04:00
Gregory Sanders
9e669c8837
Move rest of CAmountMap stuff
2017-06-16 12:02:16 -04:00
Gregory Sanders
fa0a86fb74
Move CAmountMap to amount.h
2017-06-16 12:02:16 -04:00
Gregory Sanders
2f7a9a5846
Replace nTxFee with explicit output fees
2017-06-16 12:02:16 -04:00
Gregory Sanders
553cdeea00
Greatly simplify coinbase balance checking
2017-06-16 12:02:16 -04:00
instagibbs
7aae7bada7
Don't attempt to copy CReserveKeys
2017-06-16 12:02:16 -04:00
Gregory Sanders
a38c6b18b5
SurjectionProof caching
2017-06-16 12:02:16 -04:00
Gregory Sanders
13cdcfc979
Enable multithreaded validation of surjection proofs
2017-06-16 12:02:16 -04:00
Gregory Sanders
b780bf7047
SendFrom: Remove
2017-06-16 12:02:16 -04:00
Gregory Sanders
4f3f87649f
Wallet: Support arbitrary assets
2017-06-16 12:02:16 -04:00
Gregory Sanders
c5533245b8
Give genesis block BITCOINID asset type
2017-06-16 12:02:15 -04:00
Gregory Sanders
99936b03db
No dust for non-bitcoin outputs
2017-06-16 12:02:15 -04:00