Commit graph

13654 commits

Author SHA1 Message Date
Gregory Sanders
f08756b5d7 OP_TRUE outputs should be allowed to be segwit-ified by decodescript 2019-09-06 10:06:44 -04:00
Gregory Sanders
2eded09b6a Have removeForBlock boot transactions when required 2019-09-06 10:06:44 -04:00
Gregory Sanders
0cfe03bec4 Expose fedpeg fetching to consensus and mempool internals 2019-09-06 10:06:44 -04:00
Gregory Sanders
b00515e223 GetTransactionSigOpCost shouldn't need fedpegscript to evaluate 2019-09-06 10:06:44 -04:00
Gregory Sanders
b096f8ddac Add and update startup args for dynafed 2019-09-06 10:06:44 -04:00
Gregory Sanders
8436710b4a Add unused dynamic genesis block style in chainparams 2019-09-06 10:06:44 -04:00
Gregory Sanders
f2e3495d60 Create epoch length chainparam 2019-09-06 10:06:44 -04:00
Gregory Sanders
85467c06ce Set default of multi_data_permitted to enforce_pak 2019-09-06 10:06:44 -04:00
Gregory Sanders
e1474d1bc7 Correct comment about liquidv1 fedpeg matching template 2019-09-06 10:06:44 -04:00
Gregory Sanders
4818e5e2b4 Miner should stop trying to account for old PAK system 2019-09-06 10:06:44 -04:00
Gregory Sanders
f277ec52f1 Add miner ability to make dynafed blocks 2019-09-06 10:06:44 -04:00
Gregory Sanders
f5e46328ee ContextualCheckBlockHeader: dynafed doesn't call CheckChallenge 2019-09-06 10:06:44 -04:00
Gregory Sanders
fb333b3ed8 Introduce contextual block checks for dynafed 2019-09-06 10:06:44 -04:00
Gregory Sanders
8f2194c901 Enable pak enforcement at mempool/block level when appropriate 2019-09-06 10:06:44 -04:00
Gregory Sanders
fac525bac6 ScriptHasValidPAKProof takes fedpeg as arg 2019-09-06 10:06:44 -04:00
Gregory Sanders
144d486220 Remove old mempool-booting logic 2019-09-06 10:06:44 -04:00
Gregory Sanders
1c7782451a Remove standardness checks for PAK 2019-09-06 10:06:44 -04:00
Gregory Sanders
a306c0c6ec Update PAK internals, helper functions 2019-09-06 10:06:44 -04:00
Gregory Sanders
60d4093eb9 Disable PAK loading from configuration on init, disable pak test 2019-09-06 10:06:44 -04:00
Gregory Sanders
5e273e806e Add inactive versionbits dynafed deployment 2019-09-06 10:06:44 -04:00
Gregory Sanders
1f470d3201 ReadBlockFromDisk: do genesis block check before block proof check 2019-09-06 10:06:44 -04:00
Gregory Sanders
cd5d87cbcd Bump last old block version for versonbits due to elements 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
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
27021e5554 linter: translation empty lines 2019-08-21 16:12:33 -04: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
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
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
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
João Barbosa
b2711b98bd fix: tor: Call event_base_loopbreak from the event's callback
Github-Pull: #16405
Rebased-From: a981e749e6
2019-07-17 16:22:11 +01:00
Steven Roose
751c0771da
Merge #677: [backport 0.18] Change default chain to liquidv1
118fc3dc0 Change default chain to liquidv1 (Gregory Sanders)

Pull request description:

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

Tree-SHA512: 1ddd0d61b35020d260ca7e860418211c79159fbfce1422ee5a9aa21bb2bac91ac38d9bc214b7e4b5b0bdd627f60d1c032f68fa8ddbab3fb9dd43f8f4171083b6
2019-07-16 11:49:23 +02:00
Gregory Sanders
118fc3dc09 Change default chain to liquidv1 2019-07-12 10:52:52 -04:00