Commit graph

13467 commits

Author SHA1 Message Date
Mark Friedenbach
8787a6fc16 f 'Add fast Merkle branch functions.'
Turns out the path calculation code, as written, did not work. Additionally, doing the position -> path calculation at validation time is both wasteful and introduces a source of malleability. Thankfully none of this code is used anywhere yet.
2017-07-11 17:26:17 +09:00
Gregory Sanders
fe39cf5599 Merge pull request #198 from instagibbs/rawblindrawfixes
rawblindraw fixes, tests
2017-07-07 09:17:16 -04:00
Gregory Sanders
5e0c2857b9 add functional tests of rawblindrawtransaction 2017-07-07 08:43:19 -04:00
Gregory Sanders
8b7476aba2 Fixups of rawblindraw 2017-07-07 08:43:19 -04:00
Gregory Sanders
26a4cc349b return assetblinder in listunspent 2017-07-06 12:03:44 -04:00
Gregory Sanders
cff7286d1a Merge pull request #197 from ElementsProject/createrawvalue
Remove nValue/amount arguments from createrawtransaction
2017-07-06 11:27:34 -04:00
Gregory Sanders
b292aef552 Remove nValue/amount arguments from createrawtransaction 2017-07-06 09:24:24 -04:00
Gregory Sanders
f83782afc6 Merge pull request #196 from AkioNak/remove-redundant-code-issueasset
Remove redundant code (issueasset)
2017-07-05 08:38:47 -04:00
Akio Nakamura
47e1686e50 Remove redundant code (issueasset) 2017-07-04 16:56:03 +09:00
Gregory Sanders
8d1b5520d7 Merge pull request #195 from AkioNak/fix-getbalance-helptext
Fix help text in wallet/rpcwallet.cpp
2017-06-30 08:39:22 -04:00
Akio Nakamura
df676164d6 Fix help text in wallet/rpcwallet.cpp 2017-06-29 18:05:15 +09:00
Gregory Sanders
a1ed9bfd34 Merge pull request #188 from jtimon/e14-remove-chainparams-bitcoinid
Remove CChainParams::bitcoinID
2017-06-27 09:53:34 -04:00
Gregory Sanders
973e0bbee6 Merge pull request #194 from jtimon/e14-tutorial
Separate config files from assets tutorial
2017-06-27 09:47:55 -04:00
Gregory Sanders
73c90502e3 Merge pull request #193 from AkioNak/issueaseet-response
change type of vin to numeric in issueasset response.
2017-06-23 21:58:57 -04:00
Akio Nakamura
994e79c06d change type of vin to numeric in issueasset response. 2017-06-24 08:57:50 +09:00
Gregory Sanders
d6a001f559 Merge pull request #192 from AkioNak/daemon-version-option
elementsd -version' abort with std::runtime_error.
2017-06-22 22:05:27 -04:00
Akio Nakamura
8157aa853f fixup! Elements Beta branding 2017-06-23 10:56:40 +09:00
Jorge Timón
fb131818ca
Separate config files from assets tutorial
... and some minor additions
2017-06-23 03:30:09 +02:00
Gregory Sanders
0b1ceafd75 Merge pull request #190 from AkioNak/supportedchains
elementsd does not start on MacOS
2017-06-21 22:16:17 -04:00
Gregory Sanders
9647e5cc28 Merge pull request #184 from tnakagawa/fixd-listunspent
[upstream #10627] fixed listunspent rpc convert parameter
2017-06-21 21:25:29 -04:00
Jorge Timón
32873fc0f6
Remove CChainParams::bitcoinID
Using Bitcoin genesis mainnet hash for pegged-bitcoin asset id was a
mistake in the first place.
2017-06-22 02:16:36 +02:00
Akio Nakamura
dd0431578e type of supportedChains changed 2017-06-21 20:36:26 +09:00
tnaka
789cb198ea fixed listunspent rpc convert parameter 2017-06-19 11:12:23 +09:00
tdudz
8fed03f63c added explicit 'valuecommitment' checking of gettxout with getrawtransaction rpcs 2017-06-16 13:45:48 -04:00
tdudz
4a671e2958 added small testing of gettxout rpc 2017-06-16 13:45:44 -04:00
tdudz
c3ca54798e fixed improper syntax in invalidateblock.py, tests now pass 2017-06-16 13:45:38 -04:00
tdudz
0f59eeaab4 fixed gettxout rpc bug 2017-06-16 13:45:32 -04:00
Gregory Sanders
d77ad7385a Use wallet to find compatible pegin sidechain_address by default during claimpegin 2017-06-16 13:43:40 -04:00
Gregory Sanders
0b879ed944 create elements.conf using osx build instructions 2017-06-16 12:02:37 -04:00
Gregory Sanders
917e3177b4 Disable claimpegin during IBD 2017-06-16 12:02:37 -04:00
Jonas Nick
cf0173a6d5 Add blinded multisig RPC test 2017-06-16 12:02:37 -04:00
Gregory Sanders
db37555482 createblindedaddress now takes blinding pubkey 2017-06-16 12:02:37 -04:00
Gregory Sanders
a288fff697 Only track locks with explicit asset types that are bitcoin 2017-06-16 12:02:37 -04:00
Gregory Sanders
0fca8a94d0 0.14.1 start reactivating functional tests 2017-06-16 12:02:37 -04:00
Gregory Sanders
b38f8bb942 f'FundTransaction needs to give back all the outputs' 2017-06-16 12:02:37 -04:00
Gregory Sanders
6f7f415ac6 f'Wallet: Support arbitrary assets' 2017-06-16 12:02:37 -04:00
Gregory Sanders
ca103930b5 f'CreateTransaction stores destination blinding keys,factors, and amounts' - Don't attempt to cache blinding data until transaction is finalized 2017-06-16 12:02:37 -04:00
Gregory Sanders
08d9700c96 CreateTransaction: Remove change adjustment functionality for now 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
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