elements/src
Steven Roose 6c4f6efb64
Merge #563: Some more standard pegout testing
30eb323e9 ensure pak wallet is returning right kind of addresses (Gregory Sanders)
9e56c87ec have validateaddress give useful parent chain addr info (Gregory Sanders)
894d76e7c test all single-key pegout address types (Gregory Sanders)
40a62a151 DestinationEncoder: don't assert when a parent destination is unblinded (Gregory Sanders)

Pull request description:

  Added more utility to `validateaddress` for parent addresses by returning an additional object `parent_address_info`, then used it to enhance various tests.

Tree-SHA512: 941ef1dc8b7469c3274a50907ea788fe520398809d5c4ac901ef057dfa688f63b45f0be298de14c07c250015d02de8f2f4687e430da121fba759e3879823947f
2019-04-12 15:34:40 +01:00
..
bench [BROKEN] Adapt existing benchmarks to CA 2019-03-20 12:05:49 +00:00
compat Merge #13665: [build] Add risc-v support to gitian 2018-08-16 20:33:50 +02:00
config
consensus [BROKEN] Add CA validation 2019-03-20 12:05:46 +00:00
crypto Add support for SHA-256 midstate access 2019-02-12 15:03:42 +00:00
index Drop unused GetType() from CSizeComputer 2018-09-11 00:58:05 -04:00
interfaces Fix progress reporting issue 2019-03-21 11:01:16 +00:00
leveldb Merge leveldb subtree 2018-08-09 11:31:45 -04:00
obj
obj-test
policy [BROKEN] Introduce CA in data structures 2019-03-20 12:05:45 +00:00
primitives Disallow extended encoding for non-witness transactions 2019-03-21 15:50:35 +00:00
qt [BROKEN] Unbreak Qt code after CA 2019-03-20 12:05:59 +00:00
rpc Merge #563: Some more standard pegout testing 2019-04-12 15:34:40 +01:00
script Make validatepegin default to true if has parent chain 2019-03-21 17:55:02 +00:00
secp256k1 Merge commit '624a6153f5' into 2019-1-secp-update 2019-01-04 10:39:37 -05:00
support Fix typos reported by codespell 2018-09-04 13:11:26 +02:00
test Make validatepegin default to true if has parent chain 2019-03-21 17:55:02 +00:00
univalue Update univalue subtree 2018-09-07 08:21:14 -04:00
wallet sendtomainchain_base should be decoding parent destination 2019-04-10 14:18:48 -04:00
zmq Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
.clang-format Fix inconsistent namespace formatting guidelines 2018-04-13 15:37:20 -04:00
addrdb.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
addrdb.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
addrman.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
addrman.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
amount.h
arith_uint256.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
arith_uint256.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
asset.cpp Remove all but one circular dep: coinselection <-> wallet 2019-03-20 10:10:43 -04:00
asset.h Remove all but one circular dep: coinselection <-> wallet 2019-03-20 10:10:43 -04:00
assetsdir.cpp Add CAssetsDir 2019-03-20 12:05:38 +00:00
assetsdir.h Add CAssetsDir 2019-03-20 12:05:38 +00:00
base58.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
base58.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
bech32.cpp Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations. 2018-08-27 18:19:33 +02:00
bech32.h Fix missing or inconsistent include guards 2018-03-22 16:23:04 +01:00
bitcoin-cli-res.rc Change branding from bitcoin to elements 2019-03-22 10:12:04 +00:00
bitcoin-cli.cpp Change branding from bitcoin to elements 2019-03-22 10:12:04 +00:00
bitcoin-tx-res.rc Change branding from bitcoin to elements 2019-03-22 10:12:04 +00:00
bitcoin-tx.cpp Change branding from bitcoin to elements 2019-03-22 10:12:04 +00:00
bitcoind-res.rc Change branding from bitcoin to elements 2019-03-22 10:12:04 +00:00
bitcoind.cpp Fix a few Bitcoin server strings 2019-04-02 08:42:04 -04:00
blech32.cpp Add blech32 implementation and API 2019-03-20 12:05:35 +00:00
blech32.h Add blech32 implementation and API 2019-03-20 12:05:35 +00:00
blind.cpp fix vector length calculation for targets in BlindTransaction 2019-03-28 16:58:31 -04:00
blind.h Spelling linter 2019-03-20 11:05:49 -04:00
block_proof.cpp Add support for signed-blocks parent chains 2019-01-02 18:46:02 +01:00
block_proof.h Add support for signed-blocks parent chains 2019-01-02 18:46:02 +01:00
blockencodings.cpp UPSTREAM MERGE BROKEN: Merge commit '3832c25f17' into merge_14225 2019-01-28 18:14:25 +00:00
blockencodings.h Expose check_pow for compact blocks, helper to get available Tx list 2018-12-18 17:26:51 -05:00
blockfilter.cpp blockfilter: Omit empty scripts from filter contents. 2018-08-28 12:12:32 -07:00
blockfilter.h blockfilter: Additional helper methods to compute hash and header. 2018-08-25 10:02:37 -07:00
bloom.cpp Merge #13429: Return the script type from Solver 2018-08-25 17:41:00 +02:00
bloom.h Removes unsed CBloomFilter constructor. 2018-08-13 01:24:55 +02:00
chain.cpp Signed blocks have work of 1 each 2018-12-19 10:38:38 -05:00
chain.h Save some space, maintain compatibility with elements-0.14 header index 2019-03-27 13:54:19 -04:00
chainparams.cpp Adapt Elements default adress prefix bytes to elements-0.14 style 2019-04-10 16:08:39 -04:00
chainparams.h Add new arguments 2019-03-20 12:05:43 +00:00
chainparamsbase.cpp Set correct ports for Liquid network params 2019-03-20 22:10:03 +00:00
chainparamsbase.h Add liquidv1 chainparams 2019-03-20 12:05:33 +00:00
chainparamsseeds.h Add liquidv1 chainparams 2019-03-20 12:05:33 +00:00
checkpoints.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
checkpoints.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
checkqueue.h [BROKEN] Add CA validation 2019-03-20 12:05:46 +00:00
clientversion.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
clientversion.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
coins.cpp [BROKEN] Introduce CA in data structures 2019-03-20 12:05:45 +00:00
coins.h UPSTREAM MERGE BROKEN: Merge commit '3832c25f17' into merge_14225 2019-01-28 18:14:25 +00:00
compat.h Make IS_TRIVIALLY_CONSTRUCTIBLE consistent on GCC < 5 2018-08-23 10:38:59 -07:00
compressor.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
compressor.h [BROKEN] Introduce CA in data structures 2019-03-20 12:05:45 +00:00
confidential_validation.cpp [BROKEN] Add CA validation 2019-03-20 12:05:46 +00:00
confidential_validation.h [BROKEN] Add CA validation 2019-03-20 12:05:46 +00:00
core_io.h [BROKEN] Introduce CA in data structures 2019-03-20 12:05:45 +00:00
core_memusage.h Add Elements-style witness serialization 2019-02-13 11:42:38 +00:00
core_read.cpp rpc: Expose ProcessNewBlockHeaders 2018-08-13 14:27:40 -04:00
core_write.cpp [BROKEN] Introduce CA in data structures 2019-03-20 12:05:45 +00:00
cuckoocache.h Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations. 2018-08-27 18:19:33 +02:00
dbwrapper.cpp Fix typos reported by codespell 2018-09-04 13:11:26 +02:00
dbwrapper.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
dummywallet.cpp [build] remove #ifdef ENABLE_WALLET from interfaces/node 2018-09-13 09:37:37 -04:00
fs.cpp Merge #14192: utils: Convert fs::filesystem_error messages from local multibyte to utf-8 on Windows 2018-09-13 17:30:27 +02:00
fs.h utils: Convert fs error messages from multibyte to utf-8 2018-09-11 03:11:39 +08:00
hash.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hash.h Squashed 'src/secp256k1/' changes from 0b70241..53ad841 2018-12-14 16:06:00 -05:00
httprpc.cpp [build] remove ENABLE_WALLET ifdef from httprpc.cpp 2018-09-10 14:27:32 -04:00
httprpc.h Cleanup StartRest() 2018-08-11 09:34:47 +03:00
httpserver.cpp scripted-diff: Small locking rename 2018-08-31 10:00:38 -04:00
httpserver.h http: Add const modifier to HTTPRequest methods 2018-08-20 01:35:55 +01:00
indirectmap.h
init.cpp Don't assume mainchain is Bitcoin 2019-03-21 19:30:52 +00:00
init.h [build] remove ENABLE_WALLET ifdef from httprpc.cpp 2018-09-10 14:27:32 -04:00
issuance.cpp [BROKEN] Introduce CA in data structures 2019-03-20 12:05:45 +00:00
issuance.h Spelling linter 2019-03-20 11:05:49 -04:00
key.cpp Add CKey::ECDH 2019-03-20 12:05:32 +00:00
key.h Add CKey::ECDH 2019-03-20 12:05:32 +00:00
key_io.cpp DestinationEncoder: don't assert when a parent destination is unblinded 2019-04-04 11:48:48 -04:00
key_io.h Add parent address encoding 2019-01-02 16:12:47 +01:00
keystore.cpp Replace CScriptID and CKeyID in CTxDestination with dedicated type 2019-03-20 12:05:31 +00:00
keystore.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
limitedmap.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
logging.cpp Don't close old debug log file handle prematurely when trying to re-open (on SIGHUP) 2018-08-29 16:05:00 +02:00
logging.h logging: Replace LogPrint macros with regular functions 2018-09-12 11:28:01 -04:00
mainchainrpc.cpp Don't assume mainchain is Bitcoin 2019-03-21 19:30:52 +00:00
mainchainrpc.h Add mainchain rpc client 2019-01-02 16:12:47 +01:00
Makefile.am Change branding from bitcoin to elements 2019-03-22 10:12:04 +00:00
Makefile.bench.include MERGE-FIX: various compilation fixes 2019-01-28 18:14:40 +00:00
Makefile.leveldb.include
Makefile.qt.include scripted-diff: Remove trailing whitespaces 2018-07-24 20:46:23 +01:00
Makefile.qttest.include crypto: cleanup sha256 build 2018-06-06 17:36:53 -04:00
Makefile.test.include [BROKEN] Add unit test for blinding logic 2019-03-20 12:05:52 +00:00
memusage.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
merkleblock.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
merkleblock.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
miner.cpp [BROKEN] Introduce CA in data structures 2019-03-20 12:05:45 +00:00
miner.h Miner support for signed blocks 2018-12-19 11:13:51 -05:00
net.cpp Merge #14127: build: avoid getifaddrs when unavailable 2018-09-10 18:08:05 +02:00
net.h scripted-diff: Small locking rename 2018-08-31 10:00:38 -04:00
net_processing.cpp Merge #13249: Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations. 2018-09-04 15:50:08 +02:00
net_processing.h p2p: Disable BIP 61 by default 2018-09-07 08:11:27 -04:00
netaddress.cpp Merge #13780: 0.17: Pre-branch maintenance 2018-08-08 13:55:27 +02:00
netaddress.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
netbase.cpp Call unicode API on Windows 2018-09-11 21:09:46 +08:00
netbase.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
netmessagemaker.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
noui.cpp noui: Move handlers to header file 2018-09-06 15:00:01 -04:00
noui.h noui: Move handlers to header file 2018-09-06 15:00:01 -04:00
outputtype.cpp Implement blech32 addresses, expose over RPC 2019-03-20 12:05:36 +00:00
outputtype.h Implement blech32 addresses, expose over RPC 2019-03-20 12:05:36 +00:00
pegins.cpp Enforce coinbase maturity on bitcoin peg-ins 2019-03-28 16:27:18 -04:00
pegins.h MERGE FIX: Augment IsValidPeginWitness with err string return 2019-01-31 10:55:34 +00:00
pow.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
pow.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
prevector.h Explicitly initialize prevector _union 2018-08-27 09:50:13 -07:00
protocol.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
protocol.h Recognise temporary REPLACE_BY_FEE service bit 2018-12-18 16:08:18 -05:00
pubkey.cpp C(Pub)Key::Derive: Return optional tweak vector for peg-out wallets 2019-01-24 11:07:01 -05:00
pubkey.h C(Pub)Key::Derive: Return optional tweak vector for peg-out wallets 2019-01-24 11:07:01 -05:00
random.cpp scripted-diff: Small locking rename 2018-08-31 10:00:38 -04:00
random.h Use upstream Shuffle which doesn't cause DEBUG panic 2019-03-20 16:59:03 -04:00
rest.cpp [BROKEN] Adapt existing RPCs to CA 2019-03-20 12:05:48 +00:00
reverse_iterator.h scripted-diff: Remove trailing whitespaces 2018-07-24 20:46:23 +01:00
reverselock.h
scheduler.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
scheduler.h Fix typos reported by codespell 2018-09-04 13:11:26 +02:00
serialize.h MERGE-FIX: various compilation fixes 2019-01-28 18:14:40 +00:00
shutdown.cpp Break circular dependency: init -> * -> init by extracting shutdown.h 2018-06-25 00:08:49 -04:00
shutdown.h Break circular dependency: init -> * -> init by extracting shutdown.h 2018-06-25 00:08:49 -04:00
span.h Add more methods to Span class 2018-07-27 11:52:18 -07:00
streams.h Fix typos reported by codespell 2018-09-04 13:11:26 +02:00
sync.cpp Merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSection 2018-08-31 16:00:38 +02:00
sync.h scripted-diff: Small locking rename 2018-08-31 10:00:38 -04:00
threadinterrupt.cpp Merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSection 2018-08-31 16:00:38 +02:00
threadinterrupt.h scripted-diff: Small locking rename 2018-08-31 10:00:38 -04:00
threadsafety.h Trivial: update clang thread-safety docs url 2018-09-02 02:49:30 -04:00
timedata.cpp Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations. 2018-08-27 18:19:33 +02:00
timedata.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
tinyformat.h Fix typos 2018-03-21 08:34:44 +02:00
torcontrol.cpp Merge #13780: 0.17: Pre-branch maintenance 2018-08-08 13:55:27 +02:00
torcontrol.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
txdb.cpp Only check 1 in 1000 block header sigs on load 2019-03-27 14:42:27 -04:00
txdb.h Add Read/Write functions to txdb for PAK lists 2019-01-24 11:06:55 -05:00
txmempool.cpp [BROKEN] Add CA validation 2019-03-20 12:05:46 +00:00
txmempool.h UPSTREAM MERGE BROKEN: Merge commit '3832c25f17' into merge_14225 2019-01-28 18:14:25 +00:00
ui_interface.cpp Merge #13634: ui: Compile boost::signals2 only once 2018-08-13 15:02:38 -04:00
ui_interface.h Make macro compatible with MSVC 2018-08-14 09:19:47 +00:00
uint256.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
uint256.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
undo.h Drop unused GetType() from CSizeComputer 2018-09-11 00:58:05 -04:00
util.cpp Change branding from bitcoin to elements 2019-03-22 10:12:04 +00:00
util.h UPSTREAM MERGE BROKEN: Merge commit '3832c25f17' into merge_14225 2019-01-28 18:14:25 +00:00
utilmemory.h Extract MakeUnique into utilmemory.h 2018-07-17 13:56:21 -04:00
utilmoneystr.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
utilmoneystr.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
utilstrencodings.cpp Merge #13249: Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations. 2018-09-04 15:50:08 +02:00
utilstrencodings.h Implements custom tolower and toupper functions. 2018-08-28 18:42:27 +02:00
utiltime.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
utiltime.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
validation.cpp Don't assume mainchain is Bitcoin 2019-03-21 19:30:52 +00:00
validation.h Don't assume mainchain is Bitcoin 2019-03-21 19:30:52 +00:00
validationinterface.cpp Add compile time checking for all cs_main runtime locking assertions 2018-08-26 00:25:28 +02:00
validationinterface.h Add compile time checking for all cs_main runtime locking assertions 2018-08-26 00:25:28 +02:00
version.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
versionbits.cpp MOVEONLY: Move versionbits info out of versionbits.o 2018-10-12 20:51:54 +02:00
versionbits.h MOVEONLY: Move versionbits info out of versionbits.o 2018-10-12 20:51:54 +02:00
versionbitsinfo.cpp MOVEONLY: Move versionbits info out of versionbits.o 2018-10-12 20:51:54 +02:00
versionbitsinfo.h MOVEONLY: Move versionbits info out of versionbits.o 2018-10-12 20:51:54 +02:00
walletinitinterface.h [build] remove ENABLE_WALLET ifdef from httprpc.cpp 2018-09-10 14:27:32 -04:00
warnings.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
warnings.h Merge #13780: 0.17: Pre-branch maintenance 2018-08-08 13:55:27 +02:00