Commit graph

11647 commits

Author SHA1 Message Date
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
Gregory Sanders
b296fb35ad Test for FillOutput unblinding change output 2017-03-15 09:35:08 -04:00
Gregory Sanders
58164875aa Correctly unblind outputs in FillOutputBlinds 2017-03-15 09:33:46 -04:00
Gregory Sanders
d3afddae00 Merge pull request #124 from instagibbs/createblinded
new createblindedaddress call to gen CT address
2017-03-11 15:28:39 -05:00
Gregory Sanders
528e5469a0 new createblindedaddress call to gen CT address 2017-03-09 10:16:57 -05:00
Chris Stewart
bb4e9bb149 Adding script to generate element blocks
Move generate element blocks script to contri/elements-dev-tools/

Fixing bug with not specifying datadir for generate element blocks script

Adding python docs, adding python env

Fixing indents issue on comment
2017-03-07 21:59:12 +01:00
Gregory Sanders
5e4868dded Merge pull request #120 from instagibbs/auditlogredirect
Don't redirect audit.log output with -printtoconsole
2017-03-02 18:38:48 -05:00
Gregory Sanders
b56e4d0dfa Merge pull request #131 from Christewart/fix_claimpegin_help_msg
Fix claimpegin help msg
2017-02-27 02:30:45 -05:00
Chris Stewart
6002b41865 fixing help message for claimpegin 2017-02-26 20:17:48 -06:00
Gregory Sanders
160c4a13e9 Merge pull request #129 from jtimon/0.13.1-elements-fixup-sendmoney
Trivial: Move SendMoney wrapper below funcion definition
2017-02-23 19:17:33 -05:00
Jorge Timón
781109a855
f'Add withdraw-manipulation RPCs' Move SendMoney wrapper below function definition 2017-02-24 01:01:27 +01:00
Gregory Sanders
a25114249f Merge pull request #128 from anditto/anditto-trivial-fix
[Trivial] Change 'bitcoin-cli' to 'elements-cli' in error message
2017-02-22 10:50:36 -05:00
Anditto Heristyo
e4fbef9c3a [Trivial] Change 'bitcoin-cli' to 'elements-cli' in error message 2017-02-21 22:45:48 -08:00
Gregory Sanders
18a6c4df6d Merge pull request #126 from jtimon/0.13-elements-str-liquid
Trivial: s/liquid-daemon/elementsd
2017-02-21 18:26:39 -05:00