Jorge Timón
|
f63aa69a16
|
Fix elements-cli help: s/bitcoin-cli/elements-cli/
|
2017-06-16 12:02:37 -04:00 |
|
Jorge Timón
|
c05a15daa2
|
Document -signblockscript and -fedpegscript in daemon help
|
2017-06-16 12:02:37 -04:00 |
|
Jorge Timón
|
21620bd6ab
|
Document -validatepegin in daemon help
|
2017-06-16 12:02:37 -04:00 |
|
Gregory Sanders
|
1a1714c72a
|
functional tests check that fundrawtransaction doesn't create blinded outputs
|
2017-06-16 12:02:37 -04:00 |
|
Gregory Sanders
|
2eba08f3c9
|
f'Replace nTxFee with explicit output fees'
|
2017-06-16 12:02:37 -04:00 |
|
Gregory Sanders
|
a8cbe88933
|
FundTransaction needs to give back all the outputs in an unblinded state, including the change outputs. For this we now use the "sign" boolean to back out of the blinding, much like "!sign" means the signatures should be stripped after fee estimation.
|
2017-06-16 12:02:37 -04:00 |
|
Gregory Sanders
|
ea9622bb47
|
Handle TX_FEE case in IsMine
|
2017-06-16 12:02:37 -04:00 |
|
Gregory Sanders
|
71c8ac0589
|
fundraw may add more than 1 change output for multiasset txn
|
2017-06-16 12:02:37 -04:00 |
|
Gregory Sanders
|
0d7c6d4f7f
|
Disable changePosition arguments functionality, only used in fundraw
|
2017-06-16 12:02:37 -04:00 |
|
Gregory Sanders
|
da87a78f98
|
give more accurate message for invalid block proof
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
d4338fffb1
|
f'Remove spendable 0-value outputs from consensus, wallet'
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
9bba66aa04
|
remove extraneous blinder returns for WalletTxToJSON
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
e85226b2be
|
add unit test for VerifyCoinbaseAmount
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
0bb5e092f3
|
f'Remove spendable 0-value outputs from consensus, wallet'
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
4c33b2df83
|
f'Greatly simplify coinbase balance checking'
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
96c22b5187
|
add assets tutorial script
|
2017-06-16 12:02:36 -04:00 |
|
Warren Togami
|
ebdc9214b3
|
update README.md
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
efcdf51985
|
createrawtransaction now only supports manual fee construction
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
6727607792
|
have destroyamount test use less brittle amount
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
9d04bf58ba
|
Rangeproof validation and rewinding should fail gracefully
|
2017-06-16 12:02:36 -04:00 |
|
Karl-Johan Alm
|
5157fc17ba
|
[rpc] Include the name of the asset in error message when the asset cannot be identified.
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
2ac5eafbca
|
Remove spendable 0-value outputs from consensus, wallet
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
366bdec11f
|
f'Confidential Assets python testing' - move parent up to here
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
fef9ca4843
|
audit log asset blinder info and issuance blinder info
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
31bc28858d
|
show assetlabel in listunspent if set
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
6c4b6b9f04
|
remove unused value field in bitcoin-tx input addition
|
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
|
a08d6fbc6a
|
getbalance "*" adds issuances to mapBalance since there is no corresponding receipt in previous transaction.
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
8b41ac4b98
|
policyAsset instead of BITCOINID for fee in getbalance
|
2017-06-16 12:02:36 -04:00 |
|
Gregory Sanders
|
bc5b2b383f
|
remove out of date help for assetlabel wildcard
|
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
|
5a09e7ee30
|
Enhance confidential tests to cover new issuance method
|
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
|
d33fbcc631
|
add listissuances rpc call
|
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 |
|
Gregory Sanders
|
0723e05119
|
Change dust to policyAsset instead of BITCOINID
|
2017-06-16 12:02:35 -04:00 |
|
Gregory Sanders
|
7e12ebe802
|
Fees can never be dust
|
2017-06-16 12:02:35 -04:00 |
|
Gregory Sanders
|
6c3b1f25c0
|
Move asset issuance funcionality to own file
|
2017-06-16 12:02:35 -04:00 |
|
Gregory Sanders
|
28e1565796
|
assetBlindingNonce is never a blinding key, but blinding factor
|
2017-06-16 12:02:35 -04:00 |
|
Gregory Sanders
|
3be1c9e097
|
Extend sigcache to properly cover all input to each verification
|
2017-06-16 12:02:35 -04:00 |
|
Gregory Sanders
|
05b245b9b5
|
CAssetIssuance validation
|
2017-06-16 12:02:35 -04:00 |
|
Gregory Sanders
|
034273a9a9
|
Issuances are IsNull if both nAmount and nInflationKeys are
|
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 |
|
Jorge Timón
|
5f90417261
|
CA: Decouple CWallet from CAssetsDir
Remove:
- std::vector<CAsset> GetKnownAssets() const;
- std::string GetLabelFromAsset(const CAsset& id) const;
- CAsset GetAssetFromLabel(const std::string& label) const;
|
2017-06-16 12:02:35 -04:00 |
|
Jorge Timón
|
246919c32d
|
CA: Use CAssetsDir that inits from config instead of wallet
- Don't maintain asset petnames in wallet.
- RPC: Remove addassetlabel
- Remove load functions in CWallet for asset labels.
- "bitcoin" already hardcoded in CAssetsDir::InitFromStrings, remove from CWallet::InitLoadWallet
- Remove CWallet::SetAssetPair
|
2017-06-16 12:02:35 -04:00 |
|
Jorge Timón
|
44ceb66a15
|
CA: Globals: Introduce global CAssetsDir gAssetsDir
|
2017-06-16 12:02:35 -04:00 |
|
Jorge Timón
|
360e1d083f
|
CA: Introduce CAssetsDir with unittests
|
2017-06-16 12:02:35 -04:00 |
|
Gregory Sanders
|
7d45e74d47
|
Fix issuance serialization to disk
|
2017-06-16 12:02:35 -04:00 |
|