91294ca01 Adapt Elements default adress prefix bytes to elements-0.14 style (Gregory Sanders)
410d5fa08 sendtomainchain_base should be decoding parent destination (Gregory Sanders)
Pull request description:
Also chose `ert` as bech32 hrp, just to make it distinct.
Clustered the various address parameters for ease of the reader.
resolves https://github.com/ElementsProject/elements/issues/567
Tree-SHA512: aae4b31b0c5ead9801dad13a50ddfc934216df783d6294bb4e2ae515bba27960a9643ccaae87a60c9637c44aeb6d4b0329eeb70846b07e6e88e9133edcd74315
8b718d25d Turn off mempool consistency check in fedpeg test to avoid assert (Gregory Sanders)
Pull request description:
Problem is this assert is hard to hit in practice, only Travis seems to.
We should not be relying on the mempool consistency checks to make sure bad blocks don't get accepted during parent chain RPC failure so let's just have the node continue and check behavior we expect.
Tree-SHA512: 26d778de9d0a2afc155e54e30858d949c1cc870ea5905bafaaffa70ad445baa1b1b5eaf8fee766b926e4fa3013af7a8ce792d3b4e40c225d4c9df6577ca57e20
975f7f531 Add short description of sync modes for elements in README.md (Gregory Sanders)
Pull request description:
Tree-SHA512: b1814c7700866febd8198813aff1a77c159926d517fc7a19beee58d8041569a21807f752a51a5cd22b519bc80e0d67f57e63675242af33fd8bed3eccc8c7b50f
39357ca50 Create burn argument for createrawtransaction (Gregory Sanders)
Pull request description:
Allows a no-data burn of any given asset using the raw interface to support multi-sig burn when `destroyamount` will not suffice.
Resolves https://github.com/ElementsProject/elements/issues/557
Tree-SHA512: 77309701c97861b30e141138b34efab3be6667993e0aa725d61500fa6943af9ce6114efcfd14fb6f8bade92d98bfcf8a5c7163a382a7358e3f160b36d0d944c8
4258f9ff0 add code to test partial blinding functionality to qa/rpc-tests (Dmitry Petukhov)
Pull request description:
forward port of https://github.com/ElementsProject/elements/pull/510
@dgpv
Tree-SHA512: 3c6b8afb63234d98f9c917ad17f08f0d426577891178cecff0cfca5787f5285607e64811119a328cbe09eacae1693201deb458ea8db0c97600dfcffd1cbf90be
9acbd2436 Make new actually working master blinding calls, test (Gregory Sanders)
Pull request description:
resolves https://github.com/ElementsProject/elements/issues/547
Previous API was improperly overloading the specific blinding key calls, and incorrectly on top of that.
Instead implement `importmasterblindingkey` and `dumpmasterblindingkey` and check that `dumpwallet` details are enough to recover same blinded wallet addresses.
Tree-SHA512: d9d954d1cb787182d99b464cc6a80e8383d3ea71e432e6fd0e244b5f5a460b9adfcdc14e38fe841c5a5e2fef1345da78217d519a23a804d5066998828103efd1
4c157da8b Port asset tutorial, update to 0.17+ API (Gregory Sanders)
Pull request description:
cc @wintercooled
I didn't port the bash version because I don't feel like rewriting everything to work in bash.
resolves https://github.com/ElementsProject/elements/issues/546
Tree-SHA512: b1ce9180dc49d5cba0eeba8813e03f486c73f7d3786a85e8aa698eeb5146afb6a89dd9a48611364261937d246368c46843d6666d7eea6b64f7800557e47d083f
93f49ed81 fix vector length calculation for targets in BlindTransaction (Dmitry Petukhov)
Pull request description:
port of https://github.com/ElementsProject/elements/pull/514
Tree-SHA512: 5e082bb2590c1dde70b67607524d974f435f673777459b638ca10193040b45239fcb4302cc47d4aa7dbd0a25627294e7ca4f11658a4e41cfcd001c8ca51faf3b
5acc42e4e feature_fedpeg.py: remove the spam output (Gregory Sanders)
870e41609 Enforce coinbase maturity on bitcoin peg-ins (Gregory Sanders)
Pull request description:
resolves https://github.com/ElementsProject/elements/issues/14
Technically a softfork but not really since the elements chain would eventually become valid anyways.
Tree-SHA512: bfdf404f7056e6b16adde3a82b0e11839b921fd08063ae6415d207b553e1a19c5f5a76cb308af1ca63164c001eb59b5874fe33160f7bf87061a6a4a507aa9241
the size of surjectionTargets and targetAssetGenerator vectors
was calculated as tx.vin.size()*3, based on the fact that for
each input there might also be up to 2 issuance pseudo-inputs,
but did not take into account that the number of auxiliary generators
may exceed the number of inputs. This fixes the size calculations
by taking into account auxiliary generators supplied beyond vin size.
0baa13581 Only check 1 in 1000 block header sigs on load (Gregory Sanders)
87c06d409 Save some space, maintain compatibility with elements-0.14 header index (Gregory Sanders)
Pull request description:
We diverged from the 0.14 codebase, fix included here as well as performance speedup on initial load.
In 0.14 we did no signature checking at all, but the signature checks were what alerted me to the incompatibility, so I opted to preserve some of that as sanity check.
Tree-SHA512: 565c9d771e8f7a1057f7dcd1107c9d3f23159d3cf9f9968fdc53f7732abdfbf8a65e3c0a42807fbb80c712cb65d6fa2a7c83c3bf3de5ac0a6b72b49e55f00e83
adcc2d2ad Re-enable no wallet functional tests (Gregory Sanders)
Pull request description:
We removed QT building which seemed to help, maybe we can reintroduce functional tests.
Tree-SHA512: 8a31ad15ea876c5d33e799351fb46ee7be48f1e55695b0c42badb1bc5368cfbf2139039b6b048ab38a57e330c94776f5511c5e63d05be50e225019983a009757
310c4dc Add test for superfulous witness record in deserialization (Gregory Sanders)
Pull request description:
Backport of 7c1ad7c036
Tree-SHA512: 4f67814e411209ef3424e2ae80bd3c2c4ec92e670742b795c3c79ac7c9eb4be92727472d1611e5dade8710207d47d6157db0b790d62ab8f27c79e7c6141660ae
aba54b3 Make validatepegin default to true if has parent chain (Steven Roose)
Pull request description:
Tree-SHA512: 9b28426c0b00c6a31b70dfe906841069a1a3c8725357c3cb5e0d2e7eebe8d8c289033bb74f2b65effe8ff4a51965a60c654557a716a767ca6c7c9cdc13f28e96
e11c6f5 Disallow extended encoding for non-witness transactions (Pieter Wuille)
Pull request description:
backport of https://github.com/ElementsProject/elements/pull/402 which is a backport of upstream
Tree-SHA512: 01cccbc0d54a9f039ed16c88f1d9ec7ebac3a936fb4a77e664c9103e06bb142741a743ac980887ec16570429ccc0f9614e5b3076084b1c949190b3169844ed7d
8fe8485 Disable QT for NO_WALLET build to avoid compile timeout (Gregory Sanders)
Pull request description:
Times out currently at QT build, really we just use this as a compile test for wallet ifdef macro junk.
Tree-SHA512: bf189908c327a0895cabf4757541e8850749e0d25cc9cfd17ae4266706a67b698894a1b7c56499511ed237e30e5a6660015e1912a798095a4ac2361e05a6ebda
c84c95b Split up DEBUG build into functional and unit runs (Gregory Sanders)
09feb14 Disable unit tests for 32-bit builds to avoid Travis 10 min timeout (Gregory Sanders)
Pull request description:
secp-zkp unit tests takes over 10 minutes, which triggers a Travis timeout.
Until we fix it upstream it's probably better to know it compiles and maybe passes functional tests.
DEBUG=1 builds are also timing out, so split up concerns into two different runs.
Tree-SHA512: 50dfba122085a9ff465be3685fbf1290d2ab651a2b49e2beeea020f47c6b17fb5328b16c648cf4986aeb03bad8d686e12b550cb5036b9e0bb85580f7e916e1eb