Commit graph

13802 commits

Author SHA1 Message Date
nkostoulas
2bf55e1d0a
Set policy asset for core unit tests 2018-09-12 16:32:09 +01:00
Jorge Timón
9644d663f6
Merge #405: Doc: RPC: Fix named arguments' documentation for importprivkey
60efe08 Doc: RPC: Fix named arguments' documentation for importprivkey (Jorge Timón)
2018-09-07 00:23:26 +02:00
Jorge Timón
60efe08d94
Doc: RPC: Fix named arguments' documentation for importprivkey 2018-09-07 00:21:59 +02:00
Jorge Timón
cd1a9e2e89
Merge #362: 2WP: Allow other elements chains as parent chains for pegs
3f62b32 QA: Test 2wp using the test framework (Jorge Timón)
2de5765 2WP: QA: Introduce -con_parent_chain_signblockscript (Jorge Timón)
781953b QA: Optionally allow other chains (Jorge Timón)
2018-09-07 00:16:19 +02:00
Gregory Sanders
fcc652f458
Merge #403: Move elementsbp-api-reference repo in doc/ dir
60a0eea Move elementsbp-api-reference repo in doc/ dir (Steven Roose)
2018-08-27 10:01:45 -04:00
Steven Roose
60a0eeadab Move elementsbp-api-reference repo in doc/ dir 2018-08-24 20:32:27 +01:00
Gregory Sanders
929be38305
Merge #401: mainchainrpc* description fixes
bc2918d give hint on chain argument for -cli usage (Gregory Sanders)
5a40e7d mainchainrpc* description fixes (Gregory Sanders)
2018-08-20 09:59:42 -04:00
Jorge Timón
3f62b3249b
QA: Test 2wp using the test framework 2018-08-16 19:31:04 +02:00
Jorge Timón
2de576525b
2WP: QA: Introduce -con_parent_chain_signblockscript
This allows other elements chains as parent chains for pegs, for testing purposes

for now it also assumes that the parent chain has CT/CA tx format,
which is orthogonal to the parent chain having pow or signed blocks

It would be nice to also test bitcoin-like chains with signed blocks
instead of pow by adding another parameter -con_parent_chain_has_CT or
similar and decouple the logic

Introduce -con_parent_pegged_asset option to check the asset in the
peg-in txs from the parent chains.

CT: Introduce GetAmountFromParentChainPegin for CT txs
RPC: Adapt rpcwallet to initial -con_parent_chain_has_pow
Introduce CheckProofGeneric
Introduce pow::CheckProofParent
2018-08-16 19:29:23 +02:00
Gregory Sanders
bc2918d20a give hint on chain argument for -cli usage 2018-08-16 11:28:04 -04:00
Gregory Sanders
5a40e7d144 mainchainrpc* description fixes 2018-08-16 10:59:41 -04:00
Jorge Timón
781953b6bd
QA: Optionally allow other chains 2018-08-10 05:13:25 +02:00
Gregory Sanders
9148147f38
Merge #397: Tests: Explicitly destroy zmq object when exiting after not actually using it
f1ec281 Explicitly destroy zmq object when exiting without actually using it (Jeff Frontz)
2018-07-26 09:54:28 -04:00
Jeff Frontz
f1ec281230 Explicitly destroy zmq object when exiting without actually using it 2018-07-25 17:07:14 -04:00
Jorge Timón
a3b6ab088c
Merge #394: Explicit option for disabling 2wp
38dc2e7 Chainparams: Introduce -con_has_parent_chain option (Jorge Timón)
2018-07-22 07:50:12 +02:00
Jorge Timón
1a15c7271e
Merge #396: Remove use of 'bitcoin' as hard coded default asset for sendtoaddress…
10b9350 Remove use of 'bitcoin' as hard coded default asset for sendtoaddress and sendmany. (wintercooled)
2018-07-22 07:45:44 +02:00
Jorge Timón
38dc2e71b6
Chainparams: Introduce -con_has_parent_chain option 2018-07-21 22:53:15 +02:00
wintercooled
10b9350334 Remove use of 'bitcoin' as hard coded default asset for sendtoaddress and sendmany. 2018-07-19 10:41:27 +01:00
Gregory Sanders
e991626ad6
Merge #393: Add ability to use listissuance with label as param. Plus tests.
82afeed Add ability to use listissuance with label as param. Plus tests. (amended for grammar) (wintercooled)
2018-07-18 15:41:16 -04:00
wintercooled
82afeed34b Add ability to use listissuance with label as param. Plus tests. (amended for grammar) 2018-07-16 17:43:02 +01:00
Jorge Timón
5108ad17d3
Merge #384: Enable setting of default asset name and initial reissuance token count
b96a361 Tests for initialreissuancetokens param - ability to specify number of initial reissuance tokens (wintercooled)
33f43fe Tests for defaultpeggedassetname param - ability to set default asset name (wintercooled)
92e3136 Allow initial reissuance token count to be set via param (wintercooled)
dd39cc4 Allow default asset name to be set via param (wintercooled)
2018-07-13 20:47:27 +02:00
wintercooled
b96a36144f Tests for initialreissuancetokens param - ability to specify number of initial reissuance tokens 2018-07-13 15:45:50 +01:00
wintercooled
33f43fe020 Tests for defaultpeggedassetname param - ability to set default asset name 2018-07-12 21:42:41 +01:00
wintercooled
92e3136336 Allow initial reissuance token count to be set via param 2018-07-12 18:52:23 +01:00
wintercooled
dd39cc4f80 Allow default asset name to be set via param 2018-07-12 18:51:49 +01:00
Gregory Sanders
5cea189932
Merge #392: RPC: Named arguments for signblock
fb0494a RPC: Named arguments for signblock (Jorge Timón)
2018-07-11 16:51:42 -04:00
Jorge Timón
fb0494a577
RPC: Named arguments for signblock 2018-07-11 20:44:28 +02:00
Gregory Sanders
826621375d
Merge #391: subtract fee from reissuance token if token is fee asset during reiss…
72a7dd0 subtract fee from reissuance token if token is fee asset during reissuance (Gregory Sanders)
2018-07-11 13:50:18 -04:00
Gregory Sanders
72a7dd0704 subtract fee from reissuance token if token is fee asset during reissuance 2018-07-11 11:43:07 -04:00
Gregory Sanders
19b24da39d
Merge #386: NO-HF: Move block.proof.challenge to Consensus::Params::signblockscript
710df6d NO-HF: Move block.proof.challenge to Consensus::Params::signblockscript (Jorge Timón)
2018-07-11 10:48:20 -04:00
Gregory Sanders
13dda38880
Merge #388: Remove unused line giving a warning
8682dde Remove unused line giving a warning (Jorge Timón)
2018-07-11 09:32:35 -04:00
Gregory Sanders
e10fb27522
Merge #389: RPC: Named arguments for combineblocksigs
46263a1 RPC: Named arguments for combineblocksigs (Jorge Timón)
2018-07-11 09:31:10 -04:00
Jorge Timón
46263a11a0
RPC: Named arguments for combineblocksigs 2018-07-11 03:18:19 +02:00
Jorge Timón
8682ddec8e
Remove unused line giving a warning 2018-07-11 01:25:16 +02:00
Jorge Timón
710df6d4e8
NO-HF: Move block.proof.challenge to Consensus::Params::signblockscript
Since the scriptPubKey for signing blocks never changes, there's no
point reading repeating it from every block header.
2018-07-10 03:51:43 +02:00
Gregory Sanders
c6f9fc0ba0
Merge #383: Fix issue #380 caused by change to initial free coins distribution
fe3a77e Update assets_tutorial.sh (wintercooled)
15c4943 Update assets_tutorial.py (wintercooled)
2018-06-28 09:09:25 -04:00
wintercooled
fe3a77efe8
Update assets_tutorial.sh
Fixed issue where e2 couldn't claim anyone-can-spend coins as they all reside in one address. Fixes issue #380
2018-06-28 12:47:06 +01:00
wintercooled
15c4943dee
Update assets_tutorial.py
Fixed issue where e2 couldn't claim anyone-can-spend coins as they all reside in one address. Fixes issue #380
2018-06-28 12:46:03 +01:00
Jorge Timón
c8677d44f6
Merge #379: [build] Add missing stuff to clean-local
9f04e1f [build] Add missing stuff to clean-local (Karl-Johan Alm)
2018-06-27 23:18:09 +02:00
Karl-Johan Alm
9f04e1fc04 [build] Add missing stuff to clean-local
Remaining of cache may interfere the expected execution of the rpc-test.py
This patch make "make clean-local" remove the cache and __pycache__ folders.
2018-06-27 20:16:00 +09:00
Gregory Sanders
146a95724e
Merge #370: Refactor: Validation: Make parts of IsValidPeginWitness templated
a20986b 2WP: Refactor out GetAmountFromParentChainPegin (Jorge Timón)
2be9cae Refactor: Validation: Make parts of IsValidPeginWitness templated (Jorge Timón)
2018-06-25 20:28:34 -04:00
Gregory Sanders
b745444a19
Merge #355: Change initial issuance output to 1
1136ad3 Change initial issuance output to 1 (nkostoulas)
2018-06-25 09:22:41 -04:00
Gregory Sanders
0afba82182
Merge #376: QA: Elements tests first
22130f4 QA: Elements tests first (Jorge Timón)
2018-06-25 09:21:53 -04:00
Gregory Sanders
dfcb26c7bf
Merge #374: Port tweakfedpegscript from liquid-deamon
9bcfdd8 Port tweakfedpegscript from liquid (Mike)
2018-06-22 09:47:00 -04:00
Mike
9bcfdd8c5c Port tweakfedpegscript from liquid
Port tweakfedpegscript from liquid
2018-06-21 13:11:12 -07:00
Jorge Timón
22130f42f8
QA: Elements tests first 2018-06-20 20:38:05 +02:00
Jorge Timón
c929443996
Merge #373: QA: Introduce feature_blocksign.py
f66e94a QA: Introduce feature_blocksign.py (Steven Roose)
2018-06-20 20:34:08 +02:00
Steven Roose
f66e94a712
QA: Introduce feature_blocksign.py 2018-06-19 22:21:47 +02:00
Jorge Timón
a20986b40d
2WP: Refactor out GetAmountFromParentChainPegin 2018-06-14 19:27:29 +02:00
Jorge Timón
2be9cae539
Refactor: Validation: Make parts of IsValidPeginWitness templated
this should not change behavior
2018-06-14 19:27:25 +02:00