Gregory Sanders
ef68c19d59
fix transaction_tests with assets and explicit fee output
2017-04-02 14:21:30 -04:00
Gregory Sanders
4bfbc318e4
More test fixes, reactivation
2017-04-02 14:21:30 -04:00
Gregory Sanders
8106c148ca
fix blindtest
2017-04-02 14:21:30 -04:00
Gregory Sanders
858b1253d4
blind_tests: fixing
2017-04-02 14:21:30 -04:00
Gregory Sanders
23a487a174
BlindOutputs: fixup blinding check at end
2017-04-02 14:21:30 -04:00
Gregory Sanders
9b41064a0e
BlindOutputs: simplify corner case logic
2017-04-02 14:21:30 -04:00
Gregory Sanders
4e49c307b0
Rangeproof commits to scriptpubkey
2017-04-02 14:21:30 -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
Jerzy Kozera
03d91e3198
Add assetlabel to help message about sendtoaddress
2017-04-02 14:21:30 -04:00
Gregory Sanders
0500764152
Fees are standard.
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
5bd72c12fe
Make sure coinbase has no fees
2017-04-02 14:21:30 -04:00
Gregory Sanders
1dd6efe64f
Disallow 0-value fees
2017-04-02 14:21:30 -04:00
Gregory Sanders
35af9730f3
Move rest of CAmountMap stuff
2017-04-02 14:21:30 -04:00
Gregory Sanders
9c91bec668
Move CAmountMap to amount.h
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
e0ecf588dd
Greatly simplify coinbase balance checking
2017-04-02 14:21:30 -04:00
instagibbs
3a99695318
Fixed(?) issues with reserve keys in assets wallet
2017-04-02 14:21:30 -04:00
Gregory Sanders
589761f799
DEMO ONLY: issuance skeleton
2017-04-02 14:21:30 -04:00
Gregory Sanders
bb2f08d84e
SurjectionProof caching
2017-04-02 14:18:27 -04:00
Gregory Sanders
33bc0906ad
Enable multithreaded validation of surjection proofs
2017-04-02 14:18:27 -04:00
Gregory Sanders
029f222b60
SendFrom: Remove
2017-04-02 14:18:27 -04:00
Gregory Sanders
9ed0174ab5
Wallet: Support arbitrary assets
2017-04-02 14:18:27 -04:00
Gregory Sanders
11e8234362
Add WORLD COMPUTER for demo 2nd asset type
2017-04-02 14:05:25 -04:00
Gregory Sanders
1456e4543d
Give genesis block BITCOINID asset type
2017-04-02 14:05:25 -04:00
Gregory Sanders
c94e2a49a7
No dust for non-bitcoin outputs
2017-04-02 14:05:25 -04:00
Gregory Sanders
05bc6db085
Consensus: Add asset type to CTxOut and validation
2017-04-02 14:05:25 -04:00
Gregory Sanders
c63b8e9803
Add BITCOINID static constant
2017-04-02 14:05:25 -04:00
Gregory Sanders
e791ca645c
Add CAssetID typedef
2017-04-02 14:05:25 -04:00
Mark Friedenbach
e364787b5d
[Hard Fork] CA: Add asset field to CTxOut, modifying the serialization format of both transaction and witness data
2017-04-02 14:05:25 -04:00
Mark Friedenbach
f9f6503821
CA: Add CTxOutAsset class for holding asset tags and surjection proofs
2017-04-02 14:05:25 -04:00
Mark Friedenbach
8480bd7dcb
CA: Add skeletal CAssetReissuance class illustrating fields
2017-04-02 14:05:25 -04:00
Mark Friedenbach
eaa264d9a8
CA: Add skeletal CAssetGeneration class illustrating fields
2017-04-02 14:05:25 -04:00
Mark Friedenbach
f15be37b06
CT: Add CTxOutValue::SetNull for API similarity with other bitcoin classes
2017-04-02 14:05:25 -04:00
Mark Friedenbach
c127c48b85
[Move Only] CT: Move small methods of CTxOutValue class into header for inlining
2017-04-02 14:05:25 -04:00
Mark Friedenbach
73699f9474
CT: Remove constructor for CTxOutValue that was never implemented and never used
2017-04-02 14:05:25 -04:00
Mark Friedenbach
1dcf7ff761
[Hard Fork] CT: Swap meaning of serialization byte for explicit outputs
...
Previously 0 was explicit and 1 was original bitcoin format. This has been reversed such that the original bitcoin format is 0 and the new explicit format is 1.
This is by no means a necessary change, but it is a navel gazing fix that might as well be included since the format is changing anyway to allow compact explicit amounts.
2017-04-02 14:05:25 -04:00
Mark Friedenbach
6427ee14da
[Hard Fork] CT: Resize vchCommitment based on type (explicit or committed)
...
Previously all outputs had a fixed size (33 byte) commitment field.
With this change, explicit / unblinded outputs are serialized to 9 bytes,
saving 24 bytes of transaction space per explicit output.
2017-04-02 14:05:25 -04:00
Mark Friedenbach
78c1556679
CT: Rename nCommitmentSize -> nCommittedSize
2017-04-02 14:05:25 -04:00
instagibbs
b5c3fea8c4
BlindOutputs: Move sum checker to end and always check
2017-04-02 14:05:25 -04:00
instagibbs
87ccc27273
Adapt daemon functionality to updated libsecp
2017-04-02 14:05:25 -04:00
instagibbs
f167df2977
Disable Schnorr, enable generator and surjectionproof wmodule
2017-04-02 14:05:25 -04:00
Gregory Sanders
b94089105c
libsecp: Add negation functionality from 5b543f62fc4a8811cd7e30fca139edf51ea19721
2017-04-02 14:05:25 -04:00
Gregory Sanders
44e768e552
libsecp: contiguous array for tags 1ee4e12efb8918952da4f0a07294572ec1ded772
2017-04-02 14:05:25 -04:00
Gregory Sanders
ee2a1135f1
Update libsecp to head of secp256k1-blockstream b0201cd39c8174de756645959ba92b47906ed4c9
2017-04-02 14:05:25 -04:00
Gregory Sanders
627dfebede
Merge pull request #136 from instagibbs/fixfill
...
Fix transaction re-blinding, remove legacy static key
2017-03-15 10:01:59 -04:00
Gregory Sanders
1c735d0437
Fix blind test sync failure
2017-03-15 09:46:50 -04:00
Gregory Sanders
28bca75ebb
Remove deprecated static key blinding
2017-03-15 09:35:08 -04:00