Commit graph

323 commits

Author SHA1 Message Date
tdudz
0f59eeaab4 fixed gettxout rpc bug 2017-06-16 13:45:32 -04:00
Gregory Sanders
db37555482 createblindedaddress now takes blinding pubkey 2017-06-16 12:02:37 -04:00
Akio Nakamura
1dac6c2aa2 fixup help text for optional parameter "ignoreblindfail" which has added to rawblindrawtransaction/blindrawtransaction by #163. 2017-06-16 12:02:37 -04:00
Gregory Sanders
8ef102a035 Make best-effort to blind desired outputs, fail or return depending on ignoreblindfail arguments. 2017-06-16 12:02:37 -04:00
Gregory Sanders
efcdf51985 createrawtransaction now only supports manual fee construction 2017-06-16 12:02:36 -04:00
Gregory Sanders
46e13e2aa9 blindrawtransaction takes auxiliary generator args 2017-06-16 12:02:36 -04:00
Gregory Sanders
0d00c31d4f getrawtransaction returns details about issuances 2017-06-16 12:02:36 -04:00
Gregory Sanders
171cbf8b98 add {dump, import}issuanceblindingkey functionality 2017-06-16 12:02:36 -04:00
Gregory Sanders
56ba0e5378 add reissueasset rpc call 2017-06-16 12:02:36 -04:00
Gregory Sanders
f37db5e608 add issueasset rpc call 2017-06-16 12:02:36 -04:00
Gregory Sanders
984967c40e Update wallet infrastructure to support blinding issuances 2017-06-16 12:02:35 -04:00
Jorge Timón
c6a70906f4 CA: RPC: Add destroyamount rpc call in rpcwallet 2017-06-16 12:02:35 -04:00
Gregory Sanders
8db4309fe9 assettag -> assetcommitment 2017-06-16 12:02:35 -04:00
Mark Friedenbach
82aafe82f1 TODO: Reminder to add issuance information to the JSON-RPC response 2017-06-16 12:02:35 -04:00
Mark Friedenbach
48751f33b6 use IsNull for CConfidentialNonce 2017-06-16 12:02:34 -04:00
Mark Friedenbach
4c8f785185 [Hard-Fork] CT/CA: Put the asset surjection proof, value range proof, and issuance rangeproofs under the witness commitment 2017-06-16 12:02:34 -04:00
Mark Friedenbach
b7704f1717 Segwit: Rename CTransaction::GetWitnessHash() -> CTransaction::GetHashWithWitness() 2017-06-16 12:02:34 -04:00
Gregory Sanders
a922d3c8ee Remove asset wildcard, make default behavior 2017-06-16 12:02:34 -04:00
Gregory Sanders
a3899da08d Allow FillOutputs to continue on failure to deblind output 2017-06-16 12:02:34 -04:00
Gregory Sanders
f9dfc025cb Revamp BlindOutputs 2017-06-16 12:02:34 -04:00
Mark Friedenbach
58c21ae15c CT: Turn CTxOut::vchNonceCommitment into a CConfidentialCommitment subclass
Note: This changes the serialization of the nonce commitment, from an arbitrary length vector to an either 1 (null) or 33 (commitment) byte fixed format.
2017-06-16 12:02:34 -04:00
Mark Friedenbach
a2c0f11f8e CT/CA: Unify CTxOutAsset and CTxOutValue into a single templated abstract base class 2017-06-16 12:02:34 -04:00
Mark Friedenbach
9ebe6371a1 CT: Move CTxOutValue::vchNonceCommitment into CTxOut 2017-06-16 12:02:34 -04:00
Mark Friedenbach
515bed6331 CT: Move CTxOutValue::vchRangeproof into CTxOut 2017-06-16 12:02:34 -04:00
Mark Friedenbach
690a403a6d CT: CTxOutValue::IsAmount() -> CTxOutValue::IsExplicit() 2017-06-16 12:02:34 -04:00
Mark Friedenbach
6d3406185f CA: CTxOutAsset::vchAssetTag -> CTxOutAsset::vchCommitment 2017-06-16 12:02:34 -04:00
Mark Friedenbach
37230ccc1b CA: CTxOutAsset::IsAsset() -> CTxOutAsset::IsExplicit() 2017-06-16 12:02:34 -04:00
Mark Friedenbach
b1d487d3e7 CA: CTxOutAsset::IsAssetCommitment() -> CTXOutAsset::IsCommitment() 2017-06-16 12:02:33 -04:00
Mark Friedenbach
8b2cb06617 CA: Switch CTxOutAsset::GetAssetID() to return a constant reference to the stored asset ID rather than perform unnecessary memory reallocation. 2017-06-16 12:02:33 -04:00
Mark Friedenbach
a25f6c6e08 CA: CAssetID -> CAsset 2017-06-16 12:02:33 -04:00
Mark Friedenbach
892cb984ae CA: uint256 -> CAssetID 2017-06-16 12:02:33 -04:00
Gregory Sanders
26747fd0c5 generate: assert split from state change 2017-06-16 12:02:18 -04:00
Gregory Sanders
bbe3bfb293 gettxout: return 'valuecommitment' if value blinded 2017-06-16 12:02:18 -04:00
Gregory Sanders
2f5f1b3c20 [merged PR #9894] don't filter label-named rpc commands 2017-06-16 12:02:18 -04:00
Gregory Sanders
51a03610a0 getrawtransaction: scriptpubkey type is 'fee' 2017-06-16 12:02:18 -04:00
Anditto Heristyo
24bc7f26dc Add example to sendtoaddress, generateasset, signblock, combineblocksigs, dumpblindingkey, and importblindingkey 2017-06-16 12:02:18 -04:00
Karl-Johan Alm
cff526d387 [rpc] createrawtransaction: Fix docs and rename nValue to amount, to match utxo dictionaries. 2017-06-16 12:02:17 -04:00
Karl-Johan Alm
9ffa0c67fa [doc] HelpExampleCLI should use the right binary name. 2017-06-16 12:02:17 -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
Gregory Sanders
dcc378adae Allow arbitrary assets for fees 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
4f3f87649f Wallet: Support arbitrary assets 2017-06-16 12:02:16 -04:00
Gregory Sanders
f9fd37cc8e Consensus: Add asset type to CTxOut and validation 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
Jorge Timón
e17720bd7d DOWN: fixup! Unused tip on getblockchaininfo 2017-06-16 12:02:14 -04:00
Gregory Sanders
5c73580718 Detect mainchain cookie auth using datadir checking, not mapArgs 2017-06-16 12:02:14 -04:00
Eric Martindale
248e696f37 Add IFDEF around blind transactions 2017-06-16 12:02:14 -04:00
Eric Martindale
bdfe5e2e25 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-06-16 12:02:14 -04:00