Commit graph

20529 commits

Author SHA1 Message Date
Gregory Sanders
86ed316bc7 Add python implementation of dynafed block serialization 2019-09-06 10:06:44 -04:00
Gregory Sanders
7ec6c53503 Deserialize merkle proofs without witness, which matters for dynafed 2019-09-06 10:06:44 -04:00
Gregory Sanders
af485a8182 Add fedpegscript-fetching helper 2019-09-06 10:06:44 -04:00
Gregory Sanders
d1207bdd9b calculate_contract: remove most template checks and assert in preperation for dynafed 2019-09-06 10:06:44 -04:00
Gregory Sanders
21cf128439 Add note on peg-in sigops 2019-09-06 10:06:44 -04:00
Gregory Sanders
c37a8fe88b Add dynafed helper functions 2019-09-06 10:06:44 -04:00
Gregory Sanders
fa1f497a24 Refactor block_proof to support dynafed 2019-09-06 10:06:44 -04:00
Gregory Sanders
0402da670a Add dynamic federation blockheader fields to chaindb serialization 2019-09-06 10:06:44 -04:00
Gregory Sanders
ab6e3e37f1 Add dynamic federations blockheader serialization with HF bit 2019-09-06 10:06:44 -04:00
Gregory Sanders
f49c0a6846 Define dynamic federations primitives 2019-09-06 10:06:44 -04:00
Gregory Sanders
8f1d783475
Merge #699: [0.18 backport] sendtomainchain with pak and subtract fee from output fix
299c3fc9f fix HelpExamplRPC port for liquidv1 vs bitcoin mainnet (Gregory Sanders)
e3b750da4 Fix sendtomainchain with pak when subtracting fee from output (Gregory Sanders)

Pull request description:

  backport of https://github.com/ElementsProject/elements/pull/696

Tree-SHA512: ad2b73f3d384998db2de581299afcfb75e41b5b6a17505cdf2492008671dbd06757a64f1b48fca055ef56128f8069fc5f722ef0341301e621df55a90422568f6
2019-09-03 10:11:35 -04:00
Gregory Sanders
01b6302559
Merge #698: [0.18 backport] Qt fixes post 18
fdc365e9c Fix QT transaction blinding details being committed to wallet (Gregory Sanders)
523a7e9d6 Fix QT startup for custom chains (Gregory Sanders)

Pull request description:

  backport of https://github.com/ElementsProject/elements/pull/693

Tree-SHA512: e2896e557828fa30634a2eb0fe75e90ab1b9d1ca51726fe8199a021a757c49e95fc5b1fb43f5f81162f3698cb759680b613c11b3ec507a37a046ffa2c326a665
2019-09-03 10:10:27 -04:00
Gregory Sanders
299c3fc9f5
fix HelpExamplRPC port for liquidv1 vs bitcoin mainnet 2019-09-02 11:33:00 +01:00
Gregory Sanders
e3b750da4e
Fix sendtomainchain with pak when subtracting fee from output 2019-09-02 11:32:53 +01:00
Gregory Sanders
fdc365e9cc
Fix QT transaction blinding details being committed to wallet 2019-09-02 10:18:22 +01:00
Gregory Sanders
523a7e9d6c
Fix QT startup for custom chains 2019-09-02 10:18:16 +01:00
Gregory Sanders
1cd81acdd7
Merge #691: Catch up with core v0.18 branch
27021e555 linter: translation empty lines (Gregory Sanders)
324834724 fix linter for python tests (Gregory Sanders)
e05bc1646 fix blocksign.py test (Gregory Sanders)
5f37adb39 WIP fix blocksign (Steven Roose)
b655c7b06 Update compatibility functional tests (Steven Roose)
0d33dcd4d wip fix functional tests (Steven Roose)
6e4c23342 Add manpages for elements binaries (Steven Roose)
182c7b0dd Fix build (Steven Roose)
576580fe8 [test] walletcreatefundedpsbt: check RBF is disabled when -walletrbf=0 (Sjors Provoost)
0942a60c0 [doc] rpc: remove "fallback to" from RBF default help (Sjors Provoost)
ee950ec46 [rpc] walletcreatefundedpsbt: use wallet default RBF (Sjors Provoost)
80cd3f0ba travis: Bump timeout from 50 minutes to 90 (MarcoFalke)
5aac5e9b0 travis: Bump second timeout to 33 minutes, Add rationale (MarcoFalke)
2c341e347 travis: Properly cache and error on timeout (MarcoFalke)
bbc297008 doc: Clean out release notes post-0.18.1 (Wladimir J. van der Laan)
fa27a0760 doc: Bump manpages pre-final (Wladimir J. van der Laan)
bfa7183c4 build: set CLIENT_VERSION_RC to 0 pre-final (Wladimir J. van der Laan)
5f5b444cc Doc: remove old release notes about systemd and riscv changes (David A. Harding)
784e21861 doc: Update release notes for rc1 (Wladimir J. van der Laan)
a6cba1983 doc: Update manpages for rc1 (Wladimir J. van der Laan)
aa2d12a59 build: Bump version to 0.18.1rc1 (Wladimir J. van der Laan)
641b2ffb4 qt: pre-rc1 translations update (Wladimir J. van der Laan)
063c8ce7a net: Make poll in InterruptibleRecv only filter for POLLIN events. poll should block until there is data to be read or the timeout expires. (tecnovert)
b2711b98b fix: tor: Call event_base_loopbreak from the event's callback (João Barbosa)
df695db32 qt: Assert QMetaObject::invokeMethod result (João Barbosa)
e2f7677bd gui: Fix missing qRegisterMetaType(WalletModel*) (João Barbosa)
1dc357dab signrawtransactionwithkey: report error when missing redeemScript/witnessScript param (Anthony Towns)
bcb27d7b0 .python-version: Bump to 3.5.6 (MarcoFalke)
af25a757e Add comments to Python ECDSA implementation (John Newbery)
715da91e9 Set AA_EnableHighDpiScaling attribute early (Hennadii Stepanov)
2800b3d5c gui: Fix open wallet menu initialization order (João Barbosa)
e78007fc1 Make and get the multisig redeemscript and destination in one function instead of two (Andrew Chow)
d9fc969e7 Pure python EC (Pieter Wuille)
23ba460c1 test: Add test that addmultisigaddress fails for watchonly addresses (MarcoFalke)
13b3bb564 test: Fixup creatmultisig documentation and whitespace (MarcoFalke)
79745d175 Replace remaining fprintf with tfm::format manually (MarcoFalke)
beb09f09b scripted-diff: Replace fprintf with tfm::format (MarcoFalke)
e29aa6e72 Exceptions should be caught by reference, not by value. (Kristaps Kaupe)
f88959ba7 tinyformat: Add doc to Bitcoin Core specific strprintf (MarcoFalke)
0023c9789 rpc: bugfix: Properly use iswitness in converttopsbt (MarcoFalke)
832eb4ff5 Bugfix: test/functional/rpc_psbt: Correct test description comment (Luke Dashjr)
966d8d084 Bugfix: test/functional/rpc_psbt: Remove check for specific error message that depends on uncertain assumptions (Luke Dashjr)
bb36ac82e rpc: Switch touched RPCs to IsValidNumArgs (MarcoFalke)
d24d0ec05 Add example 2nd arg to signrawtransactionwithkey (Chris Moore)
592016ba1 fixup: Fix prunning test (João Barbosa)
c80a498ae Fix RPC/pruneblockchain returned prune height (Jonas Schnelli)
b2398240f gui: Enable open wallet menu on setWalletController (João Barbosa)
d1f261150 Add test for GCC bug 90348 (Pieter Wuille)
d80c558e0 gui: Set progressDialog to nullptr (João Barbosa)
7ed1a6019 gui: Enable console line edit on setClientModel (João Barbosa)
b55cbe82d qt: fix opening bitcoin.conf via Preferences on macOS; see #15409 (shannon1916)
b6c1f9478 Disallow extended encoding for non-witness transactions (take 3) (MarcoFalke)
86031083c Add test for superfluous witness record in deserialization (Gregory Sanders)
5a58ddb6d Fix missing input template by making minimal tx (Gregory Sanders)
206f5ee87 Disallow extended encoding for non-witness transactions (Pieter Wuille)
3dbc7def0 Show loaded wallets as disabled in open menu instead of nothing (MeshCollider)
a635377b6 Install bitcoin-wallet manpage. (Daniel Kraft)
eb85ee62b Doc: remove text about txes always relayed from -whitelist (David A. Harding)
890a92eba doc: Mention blocksonly in reduce-traffic.md, unhide option (MarcoFalke)
3460555f4 test: Add test for p2p_blocksonly (MarcoFalke)
8f215c7a2 test: Format predicate source as multiline on error (MarcoFalke)
9c1a607a0 net: Rename ::fRelayTxes to ::g_relay_txes (MarcoFalke)
5935f0126 build with -fstack-reuse=none (MarcoFalke)

Pull request description:

  Includes commits up to Core 0.18.1 release

Tree-SHA512: 05668dc1fcfb303aab309bb1fb64ac3599467397ca6480b5cfd231659167f015947a62975cd5a332aada80d26a48719ca2ee9f5ef1463cc4755e014af8fc3f94
2019-08-22 10:35:45 -04:00
Gregory Sanders
27021e5554 linter: translation empty lines 2019-08-21 16:12:33 -04:00
Gregory Sanders
324834724b fix linter for python tests 2019-08-21 16:09:06 -04:00
Gregory Sanders
e05bc1646a fix blocksign.py test 2019-08-21 16:06:00 -04:00
Steven Roose
5f37adb392
WIP fix blocksign 2019-08-21 19:31:04 +01:00
Steven Roose
b655c7b068
Update compatibility functional tests
bitcoin_function
2019-08-21 19:31:03 +01:00
Steven Roose
0d33dcd4d5
wip fix functional tests 2019-08-21 19:31:01 +01:00
Steven Roose
6e4c233426
Add manpages for elements binaries 2019-08-21 19:30:59 +01:00
Steven Roose
182c7b0dd7
Fix build 2019-08-21 19:30:57 +01:00
Steven Roose
6776a40611
Merge remote-tracking branch 'bitcoin/0.18' into elements-0.18 2019-08-21 19:30:53 +01:00
Gregory Sanders
ad701becb8
Merge #690: [0.18 backport] PSBT
0c0b158e6 Add legacy help text for walletprocesspsbt suggesting to use new RPCs instead. (Glenn Willen)
7449be0ec Disable PSBT RPCs when not in g_con_elementsmode. (Glenn Willen)
16beefa2d PSBT for Confidential Assets (Glenn Willen)
059b90f0e Add convenience method GetNonIssuanceBlindingData (Glenn Willen)

Pull request description:

Tree-SHA512: 6eaaa7845311ed530413ed254bc0ab878397d73832ea9124bd0445919d9551320d22588e9d0e12a754f3ca6a2506a6f953a8e1906012a4dcdcdc14c8f43158d5
2019-08-20 11:18:56 -04:00
Glenn Willen
0c0b158e63
Add legacy help text for walletprocesspsbt suggesting to use new RPCs instead. 2019-08-19 17:20:54 +01:00
Glenn Willen
7449be0ec0
Disable PSBT RPCs when not in g_con_elementsmode. 2019-08-19 17:20:47 +01:00
Glenn Willen
16beefa2d2
PSBT for Confidential Assets 2019-08-19 17:20:41 +01:00
Glenn Willen
059b90f0e6
Add convenience method GetNonIssuanceBlindingData 2019-08-19 17:20:33 +01:00
MarcoFalke
00ffe5aca1
Merge #16608: [0.18] Backport #15911: Use wallet RBF default for walletcreatefundedpsbt
576580fe8a [test] walletcreatefundedpsbt: check RBF is disabled when -walletrbf=0 (Sjors Provoost)
0942a60c06 [doc] rpc: remove "fallback to" from RBF default help (Sjors Provoost)
ee950ec465 [rpc] walletcreatefundedpsbt: use wallet default RBF (Sjors Provoost)

Pull request description:

  Backport of #15911 for 0.18 branch.

  The original PR changed `rawtransaction_util.cpp`, whereas the backport changes `rawtransaction.cpp` to avoid having to also backport #15638.

ACKs for top commit:
  meshcollider:
    re-utACK 576580fe8a
  MarcoFalke:
    ACK 576580fe8a

Tree-SHA512: 51c40fc4db4f8739e93e931aeac572779d5ade0bfeb3bcb0082301cf73b4f48e31d4ccbe40421dc65d0ec091d6393685c0c9b8f76584c59249f13642e80a6da5
2019-08-19 08:28:00 -04:00
Sjors Provoost
576580fe8a
[test] walletcreatefundedpsbt: check RBF is disabled when -walletrbf=0 2019-08-17 12:52:50 +02:00
Sjors Provoost
0942a60c06
[doc] rpc: remove "fallback to" from RBF default help 2019-08-17 12:52:50 +02:00
Sjors Provoost
ee950ec465
[rpc] walletcreatefundedpsbt: use wallet default RBF 2019-08-17 12:52:50 +02:00
MarcoFalke
43cf76b193
Merge #16610: [0.18] travis: Bump timeout from 50 minutes to 90, caching fixes
80cd3f0ba6 travis: Bump timeout from 50 minutes to 90 (MarcoFalke)
5aac5e9b03 travis: Bump second timeout to 33 minutes, Add rationale (MarcoFalke)
2c341e3471 travis: Properly cache and error on timeout (MarcoFalke)

Pull request description:

ACKs for top commit:
  fanquake:
    ACK 80cd3f0ba6 - assuming Travis is happy.

Tree-SHA512: d903bff9407d0e07d81037f667645263ad96852ea66a1d9118365444a332e1bf8f5973ecf5ef862a9759614377409c12619a80b638bd6cde2695d6fb6532ff83
2019-08-14 09:50:20 -04:00
MarcoFalke
80cd3f0ba6 travis: Bump timeout from 50 minutes to 90
Github-Pull: #16595
Rebased-From: fa1e9c68a7
2019-08-14 08:18:36 -04:00
MarcoFalke
5aac5e9b03 travis: Bump second timeout to 33 minutes, Add rationale
Github-Pull: #15797
Rebased-From: fa2dfbf30a
2019-08-14 08:18:23 -04:00
MarcoFalke
2c341e3471 travis: Properly cache and error on timeout
Github-Pull: #15693
Rebased-From: fa2056af1c
2019-08-14 08:18:06 -04:00
Wladimir J. van der Laan
bbc2970082
doc: Clean out release notes post-0.18.1
Tree-SHA512: d03bee43f65b1837a4e157acb358716f2df08c8692c8f77f9531568a3da732684b7fae6e10cf8a88c353f8f8360dd6311d5e5c936c2a3d9e0f34dfaf5b727e76
2019-08-14 13:07:59 +02:00
Wladimir J. van der Laan
fa27a07607
doc: Bump manpages pre-final
No changes, only the month changed from July to August.

Tree-SHA512: c8f672f3a6e570ea1feda2c2f17d30da8a04b705d990bf5aec8e09da5937f3f9a608f4f50941f183c536a4158001b13d149bd0c873a24eae48ae57d96cd274c8
2019-08-02 22:33:05 +02:00
Wladimir J. van der Laan
bfa7183c4e
build: set CLIENT_VERSION_RC to 0 pre-final
Tree-SHA512: b74ff824278e6a4c4781c904e3f68295c76d9de79cc174a6e7127273295ef3fddb87de89143ceb76805e33b8c2dec77b3e6ae4bec97a3128d9908c065c7f95de
2019-08-02 22:25:19 +02:00
Wladimir J. van der Laan
673919caf7
Merge #16532: [0.18] Doc: remove old release notes about systemd and riscv changes
5f5b444cc0 Doc: remove old release notes about systemd and riscv changes (David A. Harding)

Pull request description:

  Removes these two paragraphs that were part of the 0.18.0 release notes but which I don't think need to be repeated for the 0.18.1 release notes.  The systemd release note in particular links to a section that isn't part of the document.

ACKs for top commit:
  practicalswift:
    ACK 5f5b444cc0
  laanwj:
    ACK 5f5b444cc0
  fanquake:
    ACK 5f5b444cc0 - this should be fine.

Tree-SHA512: 3930b832eeed1f938cd6423dd9ac1e02ab7bb4fc218f433551fa995f40b84e8f2af5755ca4bf56caccdc742b6884bc79b381c9bdb3ad90e99ca90011d9e12665
2019-08-02 22:14:47 +02:00
David A. Harding
5f5b444cc0
Doc: remove old release notes about systemd and riscv changes 2019-08-01 18:34:32 -10:00
Wladimir J. van der Laan
784e218610
doc: Update release notes for rc1
Tree-SHA512: e5422eaed5339327b600bfe07e5cdb1517bf6f3d9a39d27c9c59a68ceadbef398960c69630bc727f3f8d7330353e7823905f5107dba6d8827965565157cdeca1
2019-07-24 20:48:21 +02:00
Wladimir J. van der Laan
a6cba19831
doc: Update manpages for rc1
Tree-SHA512: 805a6931e2bd059ee2da42634f687828a50b2ccd3a1ac0071cd626e9a2f52b7afc79af3c8f3d5b013a853d5e59068314e744a4694dceef598710f0694babbd99
2019-07-19 19:50:47 +02:00
Wladimir J. van der Laan
aa2d12a592
build: Bump version to 0.18.1rc1
Tree-SHA512: f746d4cfda1eb433c4c99b8d80392ac2e905c1f39591eb5579a708129e3b1b36479a2da45221594713cf20069bde78c29a31cb10d39c7bc96544694d9832cda0
2019-07-19 19:42:06 +02:00
Wladimir J. van der Laan
641b2ffb45
qt: pre-rc1 translations update
Tree-SHA512: b97fd91b7ab1eb2297007a9821def31c065a2a33f12cf51fd5e5be5dff1e8afb4f5b001d220c3873d72ca5b06484ad2d1e2c8df5300770145de0dfebe56db303
2019-07-19 19:19:47 +02:00
tecnovert
063c8ce7a0
net: Make poll in InterruptibleRecv only filter for POLLIN events.
poll should block until there is data to be read or the timeout expires.

Filtering for the POLLOUT event causes poll to return immediately which leads to high CPU usage when trying to connect to non-responding peers through tor.

Removing POLLOUT matches how select is used when USE_POLL isn't defined.

Github-Pull: #16412
Rebased-From: a52818cc56
Tree-SHA512: eaf466630ba9d2a2a7443c9679c83c2cb13e779a5948f409cddb4c48cf32126ac68f3de48e394f9302e99858efa17cdb14650751a1b55c3b79e8a7507cab352d
2019-07-19 17:59:01 +02:00
fanquake
3f76160087
Merge #16406: 0.18: fix: tor: Call event_base_loopbreak from the event's callback
b2711b98bd fix: tor: Call event_base_loopbreak from the event's callback (João Barbosa)

Pull request description:

  Github-Pull: #16405
  Rebased-From: a981e749e6

ACKs for top commit:
  laanwj:
    ACK b2711b98bd, code change is the same as for master
  fanquake:
    ACK b2711b98bd

Tree-SHA512: 9f225e505c0241be422ed897f56aef6ebad57e15d3bfe5154c7fe4f874df342e0df287871cd737eb777d0f45865a6d129cd5d1a4c036ea0a4e5d4f36520ab174
2019-07-18 21:06:01 +08:00