Commit graph

13265 commits

Author SHA1 Message Date
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
Gregory Sanders
f9fd37cc8e Consensus: Add asset type to CTxOut and validation 2017-06-16 12:02:15 -04:00
Gregory Sanders
926851d823 Add BITCOINID static constant 2017-06-16 12:02:15 -04:00
Gregory Sanders
b8a35b0a46 Add CAssetID typedef 2017-06-16 12:02:15 -04:00
Mark Friedenbach
4a831b6740 [Hard Fork] CA: Add asset field to CTxOut, modifying the serialization format of both transaction and witness data 2017-06-16 12:02:15 -04:00
Mark Friedenbach
0e984761f1 CA: Add CTxOutAsset class for holding asset tags and surjection proofs 2017-06-16 12:02:15 -04:00
Mark Friedenbach
194d4b722b CA: Add skeletal CAssetReissuance class illustrating fields 2017-06-16 12:02:15 -04:00
Mark Friedenbach
427a8c2bca CA: Add skeletal CAssetGeneration class illustrating fields 2017-06-16 12:02:15 -04:00
Mark Friedenbach
2d1fdab4fa CT: Add CTxOutValue::SetNull for API similarity with other bitcoin classes 2017-06-16 12:02:15 -04:00
Mark Friedenbach
2d0e0f72b4 [Move Only] CT: Move small methods of CTxOutValue class into header for inlining 2017-06-16 12:02:15 -04:00
Mark Friedenbach
5c0f3f5012 CT: Remove constructor for CTxOutValue that was never implemented and never used 2017-06-16 12:02:15 -04:00
Mark Friedenbach
a94fe6839f [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-06-16 12:02:15 -04:00
Mark Friedenbach
5e32a07d4c [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-06-16 12:02:15 -04:00
Mark Friedenbach
ab72a3dc05 CT: Rename nCommitmentSize -> nCommittedSize 2017-06-16 12:02:15 -04:00
instagibbs
27bc93d754 BlindOutputs: Move sum checker to end and always check 2017-06-16 12:02:15 -04:00
instagibbs
7501e0a1a0 Adapt daemon functionality to updated libsecp 2017-06-16 12:02:15 -04:00
instagibbs
369a8b79f6 Disable Schnorr, enable generator and surjectionproof wmodule 2017-06-16 12:02:15 -04:00
Gregory Sanders
34965e7165 update libsecpt to secp256k1-zkp 4f7a50e173f85113a3c495fba053053fc284dcf6 2017-06-16 12:02:15 -04:00
Gregory Sanders
b8cace5912 Fix blind test sync failure 2017-06-16 12:02:15 -04:00
Gregory Sanders
2977a541c6 Remove deprecated static key blinding 2017-06-16 12:02:15 -04:00
Gregory Sanders
d2469066be Test for FillOutput unblinding change output 2017-06-16 12:02:15 -04:00
Gregory Sanders
288cc659bc Correctly unblind outputs in FillOutputBlinds 2017-06-16 12:02:15 -04:00
Gregory Sanders
0f7531a3a5 new createblindedaddress call to gen CT address 2017-06-16 12:02:15 -04:00
Chris Stewart
2864963ee7 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-06-16 12:02:15 -04:00
Chris Stewart
cfc2933311 fixing help message for claimpegin 2017-06-16 12:02:14 -04:00
Anditto Heristyo
9b0f0446c8 [Trivial] Change 'bitcoin-cli' to 'elements-cli' in error message 2017-06-16 12:02:14 -04:00
Jorge Timón
3d27f3d763 Trivial: s/liquid-daemon/elementsd 2017-06-16 12:02:14 -04:00
Gregory Sanders
df8db0b642 listunspent: don't list outputs with unknown amounts 2017-06-16 12:02:14 -04:00
Gregory Sanders
7447486cb0 Don't redirect audit.log output with -printtoconsole 2017-06-16 12:02:14 -04:00
Gregory Sanders
da26d4e9cc Make sure we check wallet is available and unlocked for pegging 2017-06-16 12:02:14 -04:00
Jorge Timón
e17720bd7d DOWN: fixup! Unused tip on getblockchaininfo 2017-06-16 12:02:14 -04:00
Gregory Sanders
b47245766c Increase default block priority size to 20% of blocksize 2017-06-16 12:02:14 -04:00
Matt Corallo
5f3680bba2 Hugely reduce the minimum priority 2017-06-16 12:02:14 -04:00
Gregory Sanders
2e82381723 Update README for refresh 2017-06-16 12:02:14 -04:00
Gregory Sanders
f106eabc4d New address prefix: CTE 2017-06-16 12:02:14 -04:00
Gregory Sanders
352e139bca Change out of date comment for getpeginaddress 2017-06-16 12:02:14 -04:00
Gregory Sanders
d7cad10e0c fix getpeginaddress clarification 2017-06-16 12:02:14 -04:00
Gregory Sanders
9ca9c5c997 GetBlockSubsidy is always 0 2017-06-16 12:02:14 -04:00
Gregory Sanders
ae9a900b4a Add regtest python peg-in test 2017-06-16 12:02:14 -04:00