Gregory Sanders
|
e27b3ccbdc
|
add assets tutorial script
|
2017-04-02 21:53:07 -04:00 |
|
Gregory Sanders
|
fbba0aa766
|
createrawtransaction now only supports manual fee construction
|
2017-04-02 14:32:38 -04:00 |
|
Gregory Sanders
|
e8d7b6f884
|
have destroyamount test use less brittle amount
|
2017-04-02 14:32:38 -04:00 |
|
Gregory Sanders
|
144277e6bf
|
f'[Hard-Fork] CT/CA: Put the asset surjection proof, value range proof'
|
2017-04-02 14:32:38 -04:00 |
|
Gregory Sanders
|
0642fcc5ba
|
Rangeproof validation and rewinding should fail gracefully
|
2017-04-02 14:32:38 -04:00 |
|
Karl-Johan Alm
|
cfa32a5eda
|
[rpc] Include the name of the asset in error message when the asset cannot be identified.
|
2017-04-02 14:32:38 -04:00 |
|
Gregory Sanders
|
9ca96cedfa
|
Remove spendable 0-value outputs from consensus, wallet
|
2017-04-02 14:32:38 -04:00 |
|
Gregory Sanders
|
ee20a397dc
|
remove sample other asset type
|
2017-04-02 14:32:38 -04:00 |
|
Gregory Sanders
|
c2fe4f8391
|
remove issuance skeleton
|
2017-04-02 14:32:38 -04:00 |
|
Gregory Sanders
|
f1f1c65f8a
|
audit log asset blinder info and issuance blinder info
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
4801b1b33e
|
show assetlabel in listunspent if set
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
3407da5210
|
Revert "return asset label in listunspent if set"
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
dc53febc4b
|
return asset label in listunspent if set
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
9fd4b7c89a
|
remove unused value field in bitcoin-tx input addition
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
f6f6c6bb94
|
blindrawtransaction takes auxiliary generator args
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
5acb6978a9
|
getbalance "*" adds issuances to mapBalance since there is no corresponding receipt in previous transaction.
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
90e5a2f15d
|
policyAsset instead of BITCOINID for fee in getbalance
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
46df172102
|
remove out of date help for assetlabel wildcard
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
b839c219ee
|
getrawtransaction returns details about issuances
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
cb78c612d7
|
[upstreamed] ask for orphan parents as witness-tx
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
0460a1b159
|
Enhance confidential tests to cover new issuance method
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
e5bed1cd01
|
add {dump, import}issuanceblindingkey functionality
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
5758a4c04a
|
add listissuances rpc call
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
871c9af335
|
add reissueasset rpc call
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
ba13acd7d3
|
add issueasset rpc call
|
2017-04-02 14:31:30 -04:00 |
|
Gregory Sanders
|
c7275a4d2d
|
Update wallet infrastructure to support blinding issuances
|
2017-04-02 14:30:31 -04:00 |
|
Gregory Sanders
|
c27c0c1471
|
Change dust to policyAsset instead of BITCOINID
|
2017-04-02 14:30:01 -04:00 |
|
Gregory Sanders
|
7a94212eec
|
Fees can never be dust
|
2017-04-02 14:30:01 -04:00 |
|
Gregory Sanders
|
87ebb9a2e0
|
Move asset issuance funcionality to own file
|
2017-04-02 14:30:01 -04:00 |
|
Gregory Sanders
|
4891c1dbf1
|
assetBlindingNonce is never a blinding key, but blinding factor
|
2017-04-02 14:30:01 -04:00 |
|
Gregory Sanders
|
92e92eb523
|
Extend sigcache to properly cover all input to each verification
|
2017-04-02 14:30:01 -04:00 |
|
Gregory Sanders
|
6f29e9683e
|
CAssetIssuance validation
|
2017-04-02 14:30:01 -04:00 |
|
Gregory Sanders
|
9f3d650fc7
|
Issuances are IsNull if both nAmount and nInflationKeys are
|
2017-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
9497027921
|
CA: RPC: Add destroyamount rpc call in rpcwallet
|
2017-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
175168ad1e
|
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-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
3cd9298b08
|
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-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
bd48b5ed7b
|
CA: Globals: Introduce global CAssetsDir gAssetsDir
|
2017-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
b1a065e6c3
|
CA: Introduce CAssetsDir with unittests
|
2017-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
ec5bbed107
|
f'fixup! CA: Use fee asset instead of BITCOINID'
|
2017-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
86b0db8f00
|
f'Wallet: fix rpc_wallet_tests'
|
2017-04-02 14:30:01 -04:00 |
|
Gregory Sanders
|
2ec2422069
|
Fix issuance serialization to disk
|
2017-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
913e43cd97
|
CA: Tests-py: Remove addassetlabel from rpc-tests/confidential_transactions.py
|
2017-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
bfd17264e9
|
CA: Allow using unknown assets
- Improve GetAssetFromString and take it out of CWallet
|
2017-04-02 14:30:01 -04:00 |
|
Jorge Timón
|
486378b0c5
|
CA: Tests-py: wallet needs no knowledge of asset hex ids
|
2017-04-02 14:30:01 -04:00 |
|
Gregory Sanders
|
3196439012
|
return assetcommitment with listunspent
|
2017-04-02 14:30:01 -04:00 |
|
Gregory Sanders
|
0ed009fbfd
|
assettag -> assetcommitment
|
2017-04-02 14:30:01 -04:00 |
|
Mark Friedenbach
|
f887514445
|
CA: In debug log, make display of both CAssetIssuance::nAmount and CAssetIssuance::nInflationKeys optional and by keyword, as either one can be specified independent of the other
|
2017-04-02 14:30:01 -04:00 |
|
Mark Friedenbach
|
0e3683b062
|
CT/CA: Switch from "UNKNOWN" to "CONFIDENTIAL" in the debug logs, for clarity
|
2017-04-02 14:30:01 -04:00 |
|
Mark Friedenbach
|
6e78bde2f8
|
CA: Fix code comments
|
2017-04-02 14:30:01 -04:00 |
|
Mark Friedenbach
|
de2fba4c1b
|
CA: Assert the size of the pubkey, protecting against a regression to uncompressed pubkeys
|
2017-04-02 14:30:01 -04:00 |
|