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
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
28bca75ebb
Remove deprecated static key blinding
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
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
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
Jorge Timón
b9cfbb9801
Trivial: s/liquid-daemon/elementsd
2017-02-21 23:21:34 +01:00
Gregory Sanders
570d3d00e3
Merge pull request #121 from instagibbs/unknownlist
...
listunspent: don't list outputs with unknown amounts
2017-02-13 21:47:48 -05:00
Gregory Sanders
f28d2d1533
listunspent: don't list outputs with unknown amounts
2017-02-07 11:02:18 -05:00
Gregory Sanders
ce6aec0375
Don't redirect audit.log output with -printtoconsole
2017-02-06 15:02:13 -05:00
Gregory Sanders
324cdae046
Make sure we check wallet is available and unlocked for pegging
2017-02-03 15:09:14 -05:00
Jorge Timón
8736efe758
DOWN: fixup! Unused tip on getblockchaininfo
2017-02-02 10:59:11 -05:00
Karl-Johan Alm
58db3a1e84
Uses built-in byte swap if available (Apple) and if bswap_XX is undefined.
...
Defers to pre-defined version if found (e.g. protobuf). For protobuf case, the definitions are identical and thus include order should not affect results.
Github-Pull: #9366
Rebased-From: 815f4148b2
2017-02-02 10:59:11 -05:00
Gregory Sanders
04eb01404d
Increase default block priority size to 20% of blocksize
2017-02-02 10:59:11 -05:00
Matt Corallo
876759d812
Hugely reduce the minimum priority
2017-02-02 10:59:11 -05:00
Gregory Sanders
1d7134881c
New address prefix: CTE
2017-02-02 10:59:07 -05:00
Gregory Sanders
2f3c2676b4
Change out of date comment for getpeginaddress
2017-02-02 10:59:07 -05:00
Gregory Sanders
4e8b3a4798
fix getpeginaddress clarification
2017-02-02 10:59:07 -05:00
Gregory Sanders
6252e5c2dc
GetBlockSubsidy is always 0
2017-02-02 10:59:07 -05:00
Gregory Sanders
d224e2eb52
Retry bitcoind RPC connection upon warmup error code return
2017-02-02 10:59:01 -05:00
Gregory Sanders
424a85fcdd
Detect mainchain cookie auth using datadir checking, not mapArgs
2017-02-02 10:59:01 -05:00
Gregory Sanders
c868ef325e
Fix IsConfirmedBitcoinBlock, clean up CallRPC
2017-02-02 10:59:01 -05:00
Eric Martindale
1150d0e9fc
Add IFDEF around blind transactions
2017-02-02 10:59:01 -05:00
Gregory Sanders
66114fdba5
bip125 opt-in rbf by default for sent transactions
2017-02-02 10:59:01 -05:00
Eric Martindale
01d7915bb7
Migrate project naming from "Beta" to "Elements"
...
Note: this also changes the CHAINPARAMS_ELEMENTS constant! The new
network name is simply `elements`, and similarly regtest is now
`elementsregtest`
2017-02-02 10:59:01 -05:00
Gregory Sanders
a6c6702861
Count CHECKSIGFROMSTACK* against sigops limit
2017-02-02 10:59:01 -05:00
instagibbs
565e1e6eed
Create max size/weight blocks by default
2017-02-02 10:59:01 -05:00