Commit graph

20655 commits

Author SHA1 Message Date
Steven Roose
bf2e6798c8
Make elements-cli also use DEFAULT chain by default 2020-01-31 18:17:29 +00:00
Steven Roose
027b6f1977
Remove unused ArgsManager::GetUnrecognizedSections 2020-01-31 18:17:27 +00:00
Steven Roose
28ffeeb9a9
Some Elements/Liquid fixes for Qt GUI 2020-01-31 18:17:26 +00:00
Steven Roose
3e0f9da0aa
Add DEFAULT chain and set to liquidv1
This fixes f.e. that when arguments are set in CLI or the config file
without a network attached (`port` instead of `liquidv1.port`), they
will now be assigned to the liquidv1 instead of Bitcoin mainnet.
2020-01-31 18:17:24 +00:00
Steven Roose
168fd68bee
Merge #806: Bump version to 0.18.1.4
a1a018e20 Bump version to 0.18.1.4 (Steven Roose)

Pull request description:

Tree-SHA512: cfe107278ce2714162c421d8cc4b13f82556b264f052330bc78117e778acbc3f12fdab5654a5b1bd2dac601d4756f00363f29ef39d874f49d46cf55da89c4bc5
2020-01-16 15:47:31 +00:00
Steven Roose
a1a018e20c
Bump version to 0.18.1.4 2020-01-16 15:32:38 +00:00
Steven Roose
7d2d10ea1b
Merge #804: backport of 'getwalletpakinfo: Use offline counter when reporting lookahead'
b5cefbe1a getwalletpakinfo: Use offline counter when reporting lookahead (Gregory Sanders)

Pull request description:

  backport of #802.

Tree-SHA512: 03c8d0a9905002e0b596a55ace165b908630b4279f0b6e2432d7451bb55b04da10574196c3b38a2e58b2da5ff89ef0b560a9799628c94a3fc6fd1d1abb2a5acc
2020-01-16 15:17:02 +00:00
Steven Roose
f817684779
Merge #800: [0.18] Add current_params_root key to getblockchaininfo
4351cda0a Add current_params_root key to getblockchaininfo (Steven Roose)

Pull request description:

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

Tree-SHA512: 191982c3b12696c9f704c8780099ae2e27e1b8d4468a8a4b6d82cdc4c583c20f6d50cbabb21b4d300f7f94248b731ad8fabaa7b1d592b391dd27771985abf00e
2020-01-15 18:37:13 +00:00
Gregory Sanders
b5cefbe1ae
getwalletpakinfo: Use offline counter when reporting lookahead 2020-01-15 17:44:04 +00:00
Steven Roose
4351cda0a7 Add current_params_root key to getblockchaininfo 2019-12-19 09:22:41 -05:00
Gregory Sanders
169940c7a7
Merge #798: [0.18 backport] macos: Use correct application name
192620cba macos: Use correct application name (Philippe McLean)

Pull request description:

  Backport of https://github.com/ElementsProject/elements/pull/786.

Tree-SHA512: e52f8ee135d897bed1c88c40e2a165303691c2db01d4cc9b1e2e9402293267ab5152775a839c08556508f66d1ce1471415349f2a1d2e99271ba3e84f6838e881
2019-12-12 09:24:47 -05:00
Philippe McLean
192620cbac
macos: Use correct application name
fixes #724
- ds_store was referencing Bitcoin-Qt instead
of built application Elements-Qt
2019-12-12 12:18:27 +01:00
Gregory Sanders
928727ad6e
Merge #790: [0.18] Backports of various UX fixes
eedb83440 Fix address string assertions in tests (Gregory Sanders)
791c53b01 Remove 'bitcoin' from address descriptions (Gregory Sanders)
e5c1ad8f0 Fill out expected liquidv1 chain size (Gregory Sanders)
615be7f75 Fix QR address display for blinded base58 addrs (Gregory Sanders)
59d6b9f15 Make balances in overview scrollable (Andrew Chow)
921cddfb2 Set the vertical layout in .ui file instead of programatically (Andrew Chow)

Pull request description:

  backports of:
  - https://github.com/ElementsProject/elements/pull/788
  - https://github.com/ElementsProject/elements/pull/785
  - https://github.com/ElementsProject/elements/pull/784
  - https://github.com/ElementsProject/elements/pull/778

Tree-SHA512: a6d7844fb2caf7430cd2d7dc8a6229346e7aee25bc8bd24415b0aae340f4e4762dd559fd507397a19bb960fb67d86b9e8d58e49726e04417fa9e195a84e51062
2019-11-26 11:08:21 -05:00
Gregory Sanders
eedb83440c
Fix address string assertions in tests 2019-11-26 14:52:16 +00:00
Gregory Sanders
791c53b018
Remove 'bitcoin' from address descriptions 2019-11-26 11:10:30 +00:00
Gregory Sanders
e5c1ad8f07
Fill out expected liquidv1 chain size
Currently it is 1.1 GB according to my local machine.

Overshooting by 3x to account for growth.
2019-11-26 11:09:59 +00:00
Gregory Sanders
615be7f75d
Fix QR address display for blinded base58 addrs 2019-11-26 11:09:47 +00:00
Andrew Chow
59d6b9f157
Make balances in overview scrollable 2019-11-26 11:09:34 +00:00
Andrew Chow
921cddfb2d
Set the vertical layout in .ui file instead of programatically 2019-11-26 11:09:20 +00:00
Steven Roose
a15622ad6c
Merge #781: [0.18] Change elements mode to activating BIP9 signaling based on height
27d9a70a4 Change elements mode to activating BIP9 signaling based on height (Gregory Sanders)

Pull request description:

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

Tree-SHA512: 7af5eb4a3a0302141b234a3e818b7188c986efd539825290b70a20e3f2549864d90e65e51d967ec92e7c28d837e690df17bd1f0fe86f50ef071d033111c93f0e
2019-11-14 17:59:51 +00:00
Gregory Sanders
27d9a70a42 Change elements mode to activating BIP9 signaling based on height 2019-11-14 09:33:40 -05:00
Steven Roose
a62d0c22b3
Merge #774: [0.18] HF: Dyanfed pruned header now has extra root
9d5eb6aaa HF: Simplify legacy->dynafed transition max sig size (Gregory Sanders)
3751e1405 HF: Publish full dynafed block no matter epoch age (Gregory Sanders)
aec8b6caf HF: Dyanfed pruned header now has extra root (Gregory Sanders)

Pull request description:

  Backport of https://github.com/ElementsProject/elements/pull/773

Tree-SHA512: 20085b52d7d7ef0595611a5346ba1af6ecad947aafe84ea5706bd16dae6462239153e94078bfef9e7a52cbc443592fb702902812466b14cd708bbf026e8b1cef
2019-11-12 17:27:53 +00:00
Gregory Sanders
9d5eb6aaaf HF: Simplify legacy->dynafed transition max sig size 2019-11-12 09:06:06 -05:00
Gregory Sanders
3751e14057 HF: Publish full dynafed block no matter epoch age 2019-11-12 09:06:02 -05:00
Gregory Sanders
aec8b6caf5 HF: Dyanfed pruned header now has extra root 2019-11-12 09:05:56 -05:00
Steven Roose
687e427b81
Merge #772: Bump version number to 0.18.1.3
3d53639e9 Bump version number to 0.18.1.3 (Gregory Sanders)

Pull request description:

Tree-SHA512: 1d6529954688cdfd580c7171fbb502cbe8d3c08fa5627bf4f0441615380e45e29ba4fd3b1db5dfc599c63eb6178f0790181ca1b3b182ebcecc56fda1895e3723
2019-11-06 16:45:26 +00:00
Gregory Sanders
3d53639e94 Bump version number to 0.18.1.3 2019-11-06 11:41:36 -05:00
Steven Roose
8191e62a35
Merge #771: 0.18 backports
558ea69bc Correctly seed the liquidv1 paklist pre-dynafed (Gregory Sanders)
2362c005f When RPC server disabled, only warn on validatepegin failure (Gregory Sanders)

Pull request description:

  Needed for new release:

  https://github.com/ElementsProject/elements/pull/768
  https://github.com/ElementsProject/elements/pull/769
  https://github.com/ElementsProject/elements/pull/770

Tree-SHA512: d9512f1840309e83c8ead1a7868c935c17e4b6ea262f9be759e6bfb9b47279d2f19e389958f2e9589b385e9de24ecf4644fed2b6619f4e6c4c3278773baef2fc
2019-11-05 18:37:25 +00:00
Gregory Sanders
558ea69bc5 Correctly seed the liquidv1 paklist pre-dynafed 2019-11-05 13:28:51 -05:00
Gregory Sanders
2362c005f3 When RPC server disabled, only warn on validatepegin failure 2019-11-05 13:27:54 -05:00
Gregory Sanders
c53a313632
Merge #761: bump version to 0.18.1.2
b4775954f bump version to 0.18.1.2 (Gregory Sanders)

Pull request description:

Tree-SHA512: d7cb4377be6aa5bcc316d36eb724dffb696686d24e0a311ceb969fcfa89c79948a12566df07ab88c048123429888ce3bab03e309b9c5e8804c9eeb58f64e3f70
2019-10-29 11:49:17 -04:00
Gregory Sanders
b4775954fc bump version to 0.18.1.2 2019-10-29 11:47:54 -04:00
Gregory Sanders
d507c7e0fa
Merge #760: [0.18] dynaParamsToJSON: No lock required
9fd3890b6 dynaParamsToJSON: No lock required (Gregory Sanders)

Pull request description:

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

Tree-SHA512: 2f65cc70667fc7afd36ba94c141b2d98742ed39b6d85d4cbeba8c584e68b8899f47d9f5b8f8ed2eb13db5a9e66f255f70fb0ed8fbe8072c2cd827d475d257ec8
2019-10-29 11:27:54 -04:00
Gregory Sanders
3e85c3e7d3
Merge #759: [0.18] getnewblockhex: Take data push for arbitrary data in block coinbase c…
c79ad5fe0 getnewblockhex: Take data push for arbitrary data in block coinbase commitment (Gregory Sanders)

Pull request description:

  …ommitment

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

Tree-SHA512: b118f33643a5f62978c4d839c7d38917b65fdf7b8ef86fe8091485ea4f80024b5e8dbaecb00b778c8e9898611bc742b4169d5ce69b59dae8faff749d040c5120
2019-10-29 11:27:21 -04:00
Gregory Sanders
9fd3890b6a dynaParamsToJSON: No lock required 2019-10-28 16:02:21 -04:00
Gregory Sanders
c79ad5fe0c getnewblockhex: Take data push for arbitrary data in block coinbase commitment 2019-10-28 14:22:37 -04:00
Steven Roose
eace9897c2
Merge #752: [0.18] Reduce relay min rate to 100 sat/vkB
7f0bd205c Reduce min relay to 100 sat/vkB (Gregory Sanders)
a40fdbedb modify p2p_feefilter test to catch rounding error (Gregory Sanders)
2f013fde6 Disallow implicit conversion for CFeeRate constructor (Gregory Sanders)
14463785a feefilter: Compute the absolute fee rather than stored rate to match mempool acceptance logic (Gregory Sanders)

Pull request description:

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

Tree-SHA512: 31f3f494f7666b38fdbdfb7490297162bdfb4aef4c7e5748effe9bcad17d6a14a48d24d8dee49d0cf5c978cc42ec7e6ae63c8a45cf956a8bdb3dfbcd3c8e4357
2019-10-24 16:42:19 +02:00
Gregory Sanders
7f0bd205ce Reduce min relay to 100 sat/vkB 2019-10-22 12:31:43 -04:00
Gregory Sanders
a40fdbedb3 modify p2p_feefilter test to catch rounding error 2019-10-22 12:31:40 -04:00
Gregory Sanders
2f013fde64 Disallow implicit conversion for CFeeRate constructor 2019-10-22 12:31:35 -04:00
Gregory Sanders
14463785ad feefilter: Compute the absolute fee rather than stored rate to match mempool acceptance logic 2019-10-22 12:31:31 -04:00
Gregory Sanders
a04300196a
Merge #750: [0.18] feature_blocksign.py: Allot for possibility of non-empty block 0.5RTT
128d7e004 feature_blocksign.py: Allot for possibility of non-empty block 0.5RTT (Gregory Sanders)

Pull request description:

  Backport of https://github.com/ElementsProject/elements/pull/747

Tree-SHA512: 9d5aaeb47bc595975fd45269aa2d2d99f943a4dc53739791e558a3eb682c08c60cc7bf761c6c4e230d919c8e4da3926738b8c8655ec4bc02a3f7ce9c65d3361e
2019-10-22 12:26:52 -04:00
Gregory Sanders
128d7e0043 feature_blocksign.py: Allot for possibility of non-empty block 0.5RTT 2019-10-16 10:00:30 -04:00
Steven Roose
59a9601ed0
Merge #746: [0.18] Change Proprietary types to use the method specified in BIP 174
f72e57a3a Use Elements PSBT magic when in Elements mode (Andrew Chow)
8be2a9e35 Change Proprietary types to use the method specified in BIP 174 (Andrew Chow)

Pull request description:

  Backport of https://github.com/ElementsProject/elements/pull/730

Tree-SHA512: d0484639049de772989f4f97cc926fbdea0e5c27a294c1f2b5ec0b0f28ca6e620ac5a6306d029ff90d77c1c390848fbad94b3b51fe5e67d4792bb117b000c07b
2019-10-14 18:14:38 +01:00
Andrew Chow
f72e57a3af Use Elements PSBT magic when in Elements mode
Elements PSBTs are incompatible with normal PSBTs due to differing transaction
formats, so use different magic bytes to distinguish.
2019-10-14 10:25:23 -04:00
Andrew Chow
8be2a9e355 Change Proprietary types to use the method specified in BIP 174 2019-10-14 10:25:20 -04:00
Steven Roose
3868cdfe36
Merge #735: [0.18] Reduce Travis errors
f7a41c5ff finalizecompactblock: Fix it, make test easier to fail (Gregory Sanders)
8bbd5a3aa Fix finalizecompactblock filling in more found txs from mempool (Gregory Sanders)
e7b77b757 Don't run normal functional tests twice. (Gregory Sanders)
5f628d542 Sprinkle a bunch of syncs to avoid peg-in failure hanging (Gregory Sanders)
87e80602f feature_fedpeg.py: just use testmempoolaccept checking blinded peg-in transactions (Gregory Sanders)
244cccd09 Take mempool locks when doing compact block RPC calls touching mempool (Gregory Sanders)
e66aca4d5 Disable functional tests for sanitzer runs which just OOM (Gregory Sanders)
12eb9b961 Don't run unit tests for compatibility run(which is a NOP) (Gregory Sanders)

Pull request description:

  1) Don't run unit tests for compatibility run(redundant)
  2) Disable functional tests for sanitizer runs which have been OOM for a while now
  3) only use mempool sync in fedpeg test to avoid connection complexity, add a bunch of sync calls to avoid hanging validation failure corner cases
  4) run functional tests exactly once
  5) fix finalizecompactblock RPC

Tree-SHA512: 2c682d3855cd474fb6e8c039a0cc308cf68321da0f57adbbf2aa8e3aa17b06e244942be7e2f8518581ad972fedfa80f4d898e1cd72a95e9660463413a3b47efe
2019-10-11 15:42:13 +01:00
Gregory Sanders
f7a41c5ff2 finalizecompactblock: Fix it, make test easier to fail 2019-10-11 09:26:32 -04:00
Gregory Sanders
8bbd5a3aa8 Fix finalizecompactblock filling in more found txs from mempool 2019-10-10 12:51:13 -04:00
Gregory Sanders
e7b77b757d Don't run normal functional tests twice. 2019-10-10 12:51:04 -04:00