Commit graph

9191 commits

Author SHA1 Message Date
Patrick Lodder d946a24d6f
fixate v1.14.4 2021-08-20 04:16:14 +02:00
Ross Nicoll ce6e3d8137 Remove relay-only rounding
Remove rounding of transaction sizes when calculating fee minimums for relaying,
to simplify fee logic.
2021-08-17 08:50:42 +01:00
Patrick Lodder fe1bca68da
Merge pull request #2457 from ReverseControl/1.14.4-suggested-changes-for-2297
1.14.4 suggested changes for 2297
2021-08-17 09:12:27 +02:00
Escanor Liones 8ee0b0259e [ #2297 ] Implemented suggestions: camel casing as suggested and printing debug messages for invalidated blocks. 2021-08-16 22:51:04 -04:00
p-j01 0ec57cfcba fix: A newly appended block header should not build on an invalid chain 2021-08-16 22:49:23 -04:00
Patrick Lodder 59f27ca73d
fees: remove careless override of -paytxfee in GetMinimumFee 2021-08-16 00:17:05 +02: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
Ross Nicoll 5d0769fc7e
Refresh blockchain checkpoints 2021-08-15 00:28:54 +01: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 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
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
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
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
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
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
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
Michi Lumin 575f734eec Initial back end framework to separate wallet and relay fees + dust. 2021-07-30 16:07:22 -06:00
geekwisdom c7a1b7c90c Trivial: Fix Magic Numbers in key and pubkey - fixes #1968 2021-07-25 19:32:23 +01: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
Dakoda Greaves f4f7759649 initialize fixed seeds
seed initialization was commented out on mainnet
and testnet.
2021-07-23 13:07:29 -07:00
Patrick Lodder dad797d01b
Merge pull request #2308 from alamshafil/doge-tips
[QT] Add tips section
2021-07-22 22:44:32 +02:00
Shafil Alam 4f3851a722 Add tips section
Add more tips

Allow QT translations

Fix tips
2021-07-22 16:04:57 -04:00
Patrick Lodder 303be2e442
Reduce getheaders spam by serializing getheader requests per peer
Introduces a counter for getheader requests that have been sent to
a peer but are pending response, reducing the number of parallel
requests a node pushes out to its peers when needing to sync large
amounts of headers. All getheader requests are serialized during
initial sync, except when a non-connecting header is received,
allowing the node to resolve issues with peers sending faulty
blocks using the DoS mechanism, and when we get an inv for a block
that we do not know, because it's possible we're only connected to
legacy nodes that do not implement header announcement properly.
2021-07-22 19:48:09 +02:00
nformant 8e46b60b2f
Update server.cpp
Changed RPC port from 8332 (BTC) to 22555 (Dogecoin)
2021-07-22 10:49:47 +02:00
Patrick Lodder c984ff17a4
Merge pull request #2312 from rnicoll/1.14.4-subsidy-tests
Rewrite subsidy limit tests (1.14)
2021-07-17 19:39:24 +02:00
Ross Nicoll 9d507be2ae
Merge pull request #2217 from pjhwa/qt-trans-ko-2214
Fix errors of bitcoin_ko_KR.ts file for 1.14.4-dev
2021-07-15 21:08:25 +01:00
Khakim Hudaya cc0d6ada81 Fixing few missed words and making translation more casual 2021-07-15 23:56:13 +07:00
Ross Nicoll 5857ea3275 Correct XML errors 2021-07-15 22:59:35 +07:00
Khakim Hudaya 694e0b8176 Fixing indonesian translation 2021-07-15 22:59:35 +07:00
Ross Nicoll 023fc6d529 Rewrite subsidy limit tests 2021-07-11 22:13:59 +01:00
Patrick Lodder 98fae509c2
Merge pull request #2235 from chey/alpine-musl
fix runtime for dogecoin on Alpine Linux (musl libc)
2021-07-09 22:16:57 +02:00
Malta Micael 83121eacf7
fix: macos qt build 2021-07-01 14:43:09 -04:00
Chey daec7df217
Update to use thread_local 2021-06-27 16:18:49 -04:00
Ross Nicoll 760b9d05e6
Merge pull request #2306 from p-j01/1.14.4-dev-issue2282
[vulnerability] Disconnect stalling peers after timeout of header sync
2021-06-20 08:32:37 +01:00
p-j01 4c68245cf7 fix: Disconnect stalling peers after timeout of header sync 2021-06-14 00:03:51 +00:00
Gabriel Gosselin Roberge 313a2b1722 Fix french-canadian translation in bitcoin_fr_CA.ts 2021-06-11 11:25:21 -04:00
Ross Nicoll 51aca8e38d
Merge pull request #1825 from alamshafil/master
[QT] Add a form dialog for adding peers
2021-06-08 19:11:30 +01:00
chromatic c5165e9b83 Add sortable sent/recv bytes to Peers debug table
See GH #2240.
2021-06-08 10:13:37 -07:00
Shafil Alam e0d1683bff Add a form dialog for adding peers
Fixed tabIndex and width in debugwindow.ui

Added Qt UI files for each dialog

Added Qt UI files

Added separate thread for peer dialogs to run RPC commands

Fixed tabIndex

Remove unneeded includes

Fixed error

Replaced RPCExecutor with g_connman

Replaced RPCExecutor with g_connman

Added two input fields for peer address and port

Remove peerThread

Validate IP addresses

Remove Peer now uses selected IP address in peerWidget

Interpret RPC response

Remove redundant include

Use a regular expression to validate IPs

Disconnect node if it has been discovered

Use port based on current chain

Change peerAddress -> peerPort

Allowed DNS names to be entered

Update src/qt/peerdialog.cpp

Co-authored-by: Ross Nicoll <rnicoll@rnicoll.name>

Fix typo

Co-authored-by: Ross Nicoll <rnicoll@rnicoll.name>

Use LookupHost to check address

Co-authored-by: Ross Nicoll <rnicoll@rnicoll.name>

Fix syntax typo
2021-06-05 15:23:01 -04:00