Commit graph

13730 commits

Author SHA1 Message Date
Joakim Taule Kartveit 934832844a Added IntelliJ IDEA in .gitignore and removed dot from dogecoin.com link 2021-08-15 16:09:14 +01:00
Ross Nicoll 4782a56f0b
Merge pull request #2453 from patricklodder/1.14.4-fix-gen-seeds
contrib: fix generate-seeds.py to use Dogecoin p2p ports
2021-08-15 08:10:10 +01:00
Ross Nicoll bee1524723
Merge pull request #2454 from patricklodder/1.14.4-update-seeds
Update fixed seeds for 1.14.4
2021-08-15 08:09:15 +01:00
Patrick Lodder f45fc26cd9
update seeds for 1.14.4
recreated seeds by selecting peers across 20+ nodes that:

1. Keep up with updates, in this case run 1.14.3 or higher
2. Have NODE_NETWORK set
3. Are not known scanning clients
4. Are connectable
5. Are stable - I ordered nodes by time they have been connected to
   one of my nodes

resulting set is 120 good nodes for mainnet and 20 good nodes for
testnet, serialized into chainparamsseeds.h using the contrib/
scripts.
2021-08-15 04:06:14 +02:00
Patrick Lodder 9569222b7b
contrib: fix generate-seeds.py to use Dogecoin p2p ports 2021-08-15 03:09:45 +02:00
Patrick Lodder 9a14a2f8fb
Merge pull request #2452 from rnicoll/1.14.4-checkpoints
Refresh blockchain checkpoints
2021-08-15 02:27:20 +02:00
Ross Nicoll 5d0769fc7e
Refresh blockchain checkpoints 2021-08-15 00:28:54 +01:00
Patrick Lodder 1374bb47c2
Merge pull request #2450 from xanimo/1.14.4-txn_doublespend
qa: txn_dblspend - fix arithmetic
2021-08-14 21:19:15 +02:00
Ross Nicoll 6336a3a994
Merge pull request #2451 from patricklodder/1.14.4-feefilter-rpc
rpc: add feefilter to peers from getpeerinfo
2021-08-14 09:22:45 +01:00
Ross Nicoll c49da8b6f4
Merge pull request #2448 from patricklodder/1.14.4-fix-acceptblock
qa: fix p2p-acceptblock
2021-08-14 08:55:33 +01:00
Ross Nicoll 23ba9e1644
Merge pull request #2447 from patricklodder/1.14.4-fix-qt-str-trans
qt: translate all user-exposed strings
2021-08-14 08:39:14 +01:00
Dakoda Greaves 1c32538089 fix arithmetic; adds to standard testing 2021-08-13 19:12:16 -07:00
Patrick Lodder 3c327d0d6a
rpc: add feefilter to peers from getpeerinfo
Exposes information about the feefilter the peer sets to us, so
that we can make better informed decisions when a transaction
does not get relayed.
2021-08-14 03:16:54 +02:00
chromatic c2a0bd2890 qt: translate more user-exposed strings 2021-08-14 01:56:07 +02:00
Patrick Lodder 4a1975b0e3
fix typo 2021-08-13 23:33:29 +02:00
Patrick Lodder 6aff1141f4
qa: fix p2p-acceptblock
This test failed because the sheer number of blocks required to
trigger the max length of a fork we'd keep, exceed the v4 fork
height on regtest.

- Adapted the blocktools.py miner to mine 0x00620004 blocks as done
  elsewhere too (be it suboptimal, but at least consistent)
- Adapted the test to work with 1440 blocks (Dogecoin limit)
  instead of 288 (Bitcoin limit)
- Made p2p-acceptblock a standard test instead of an extended test
2021-08-13 03:44:02 +02:00
Ross Nicoll 3bf47e73f3
Merge pull request #2437 from michilumin/1.14.4-mintxfee
Adding startup logic where -paytxfee if lower than default, mintxfee is overridden
2021-08-12 20:20:38 +01:00
Ross Nicoll c9586396d2
Merge pull request #2440 from michilumin/1.14.4-fees-reduced-minimums
fees: Reduce minimum relay fee to 0.001 DOGE
2021-08-12 20:19:31 +01:00
Patrick Lodder 9370db962b
qt: translate all user-exposed strings 2021-08-11 23:09:13 +02:00
Michi Lumin f8813f8e13 fees: Reduce minimum relay fee to 0.001 DOGE, final change from tx to 0.01 2021-08-11 14:16:01 -06:00
michilumin 57303f1c06 Adding startup logic where -paytxfee if lower than default, implies -mintxfee is also lowered. 2021-08-11 13:44:29 -06:00
Ross Nicoll 6150f6717a
Merge pull request #2439 from rnicoll/1.14.4-dust-limit-type-alt
Use CAmount for amounts
2021-08-09 22:50:31 +01:00
Patrick Lodder 3a5a31c113
Merge pull request #2417 from patricklodder/1.14-serialize-getheaders
Reduce getheaders spam by serializing getheader requests per peer
2021-08-09 20:54:33 +02:00
Ross Nicoll c42b38ea51
Use CAmount for constant amounts too 2021-08-08 21:41:35 +01:00
Ross Nicoll 672a38cc06
Use CAmount for amounts
Use CAmount rather than unsigned int for amounts for consistency
with other fee rate amounts.

This does change the type from unsigned int to unsigned int64, and
while it is unlikely anyone would need a dust limit higher than
unsigned int, again this ensures the theoretical maximum is in line
with other rates.
2021-08-08 18:36:15 +01:00
Ross Nicoll 5db95e5a5f
Merge pull request #2348 from patricklodder/1.14-cfg-dust-limit
[fees] introduce configurable hard dust limit
2021-08-05 22:21:53 +01:00
Patrick Lodder 2dc1adb7fe
[fees] Express policies in COIN instead of Koinu 2021-08-05 18:24:20 +02:00
Patrick Lodder 4c46af0483
[fees] introduce configurable hard dust limit
Co-authored-by: Ross Nicoll <rnicoll@rnicoll.name>
2021-08-05 18:24:17 +02:00
Patrick Lodder a88d53be2e
Merge pull request #2415 from rnicoll/1.14.4-rbf-fee
Reduce BIP125 replace by fee increment value
2021-08-04 22:10:44 +02:00
Ross Nicoll 14a2e1ba96
consensus: Fix a rare crash bug
Fix a rare crash bug where no best chain can be activated, and therefore when trying
to find the height of the best chain via the last block triggers a null pointer dereference.
2021-08-04 09:30:02 +01:00
Michi Lumin 1d2380df56 p2p: Reduce BIP125 replace by fee increment value 2021-08-04 09:29:35 +01:00
Ross Nicoll 7ebedc2aa3
Merge pull request #2434 from patricklodder/1.14-activatebestchain-shutdown-fix
bugfix: break ActivateBestChain() differently on shutdown
2021-08-04 09:28:08 +01:00
Ross Nicoll 246a103e9e
Merge pull request #2428 from zachlatta/1.14.4-nixos-build-instructions
Add build and setup instructions for NixOS
2021-08-03 23:35:05 +01:00
Patrick Lodder 0c3d683be4
bugfix: break ActivateBestChain() differently on shutdown
Moves the break in ActivateBestChain() when a node is being shut
down from the beginning of the loop block to the end, allowing
pindexNewTip to be populated with chainActive.Tip() rather than
its initial NULL value. Solves issues when shutting down nodes
while inside the ActivateBestChain loop.
2021-08-04 00:15:33 +02:00
Zach Latta 5c6017aad4 Move shell.nix contents into separate file 2021-08-03 14:46:51 -04:00
xanimo 290faedcc3
tests: mempool_packages.py (#2433)
* Bump fee to 1.0000 from 0.0001 to fix insufficient priority error
2021-08-01 09:36:55 +01:00
Patrick Lodder 7abb81b2ea
Merge pull request #2368 from michilumin/1.14.4-fees
1.14.4 fees backend improvements
2021-07-31 20:58:53 +02:00
Michi Lumin 575f734eec Initial back end framework to separate wallet and relay fees + dust. 2021-07-30 16:07:22 -06:00
Zach Latta d80ddf3244 Add build and setup instructions for NixOS 2021-07-30 12:09:11 -04:00
Patrick Lodder 6bea578da0
Merge pull request #2426 from xanimo/1.14.4-qa
update qa/README.md to reflect working installation instructions
2021-07-29 02:00:57 +02:00
Dakoda Greaves 7e541072ce update qa/README.md to reflect working installation instructions 2021-07-28 16:12:52 -07:00
Ross Nicoll a7442cbfb0
Merge pull request #2423 from patricklodder/1.14-codeql-reduce-trigger
[qa] reduce CodeQL triggers to exclude non-compiled code
2021-07-26 23:48:44 +01:00
Patrick Lodder 7e7f7e2cfd
Merge pull request #2422 from rnicoll/1.14.4-rbf-fee-test
Fixup replace-by-fee qa test values and now runs this test by default on CI
2021-07-25 21:38:21 +02:00
Patrick Lodder cfef80c54c
Merge pull request #2249 from rnicoll/1.14-fix-magic-numbers
1.14 fix magic numbers
2021-07-25 21:12:49 +02:00
Ross Nicoll 9362186ba7
tests: Fix replace-by-fee values for Dogecoin 2021-07-25 19:48:53 +01:00
Patrick Lodder 3c4b35f3c4
[qa] reduce CodeQL triggers to exclude non-compiled code
contrib, doc, share and qa do not compile production code, skip
CodeQL on PRs to save everyone time and GitHub some cpu ticks.
2021-07-25 20:45:45 +02:00
geekwisdom c7a1b7c90c Trivial: Fix Magic Numbers in key and pubkey - fixes #1968 2021-07-25 19:32:23 +01:00
Patrick Lodder f509487d3b
Merge pull request #2236 from sabotagebeats/fix/issues/2149
Utils and libraries: Update ZMQ to 4.3.4
2021-07-24 19:19:36 +02:00
Ross Nicoll e4dccd20ae
Merge pull request #1941 from elybin/fixing-indonesian-translation
Fixing indonesian (id_ID) translation
2021-07-24 16:32:58 +01:00
Patrick Lodder df3b708e8c
Merge pull request #2420 from nformant1/nformant1-patch-1
Fix RPC port documentation in RPC help
2021-07-23 23:17:00 +02:00