Commit Graph

13953 Commits

Author SHA1 Message Date
Patrick Lodder fbfd14f8ab
write a small intro and re-link top menu 2021-08-19 23:35:27 +02:00
AbcSxyZ 25aa74fd45
Docs4Doge installation : reorganize unix build instructions
Author: AbcSxyZ <rossi.sim@outlook.com>
Cherry-picked from:
23c735353 build-unix: fix FreeBSD dependencies overwritten by Fedora
1818c33a5 docs4doge: rewrite unix build instructions
0b41d5552 Docs4Doge installation : reorganize unix build instructions
2021-08-19 23:04:06 +02:00
Patrick Lodder c39bdb9e49
split off all distro-specific guides off build-unix.md 2021-08-19 22:11:20 +02:00
Ross Nicoll b1913b5106
Merge pull request #2461 from patricklodder/1.14-sync-issue-templates
Sync issue template from master branch because we have to force-push v1.14.4
2021-08-19 01:19:37 +01:00
Ross Nicoll 5e2b2b2056 Update release notes based on most recent additions. 2021-08-19 00:49:35 +01:00
Ross Nicoll a312c4ad3e Complete first version of 1.14.4 release notes 2021-08-19 00:49:35 +01:00
roman-rr deeabe9438
issue template updated to prevent spam in repository
Cherry-picked from dogecoin/master at b5989ee03
2021-08-19 00:11:57 +02:00
Ross Nicoll 59da28cb06
Merge pull request #2458 from patricklodder/1.14.4-disconnect-bad-node-test
Test that peers building on invalid blocks get disconnected
2021-08-18 00:41:27 +01:00
Patrick Lodder b8a29b9f59
Merge pull request #2441 from rnicoll/1.14.4-fees-disable-rounding
1.14.4 fees disable rounding
2021-08-17 21:22:56 +02:00
Patrick Lodder caf26b77ab
fixup p2p-acceptblock and mininode to test disconnects
without partially backporting a new testframework.

- Adds a condition to NodeConn that when asyncore calls handle_read
  without any data, this must be a disconnect and closes the socket
- Adds a little loop in the p2p-acceptblock client that waits for
  the socket to be in a closed state
- Makes expected disconnects non-optional in p2p-acceptblock
- Syncs the test descriptions and outputs with reality
2021-08-17 20:15:30 +02:00
Dakoda Greaves fb194d7319
p2p-acceptblock: add steps 8, 9 to confirm node disconnects 2021-08-17 20:13:54 +02:00
Ed e90e8e5cba Create feelimit.py test
Create feelimit.py test to verify the updated fee values now rounding has been eliminated.
2021-08-17 08:51:18 +01: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 9de15dd687
Merge pull request #2446 from patricklodder/1.14.4-mintxfee-tests
Implements, tests and assures wallet operator ease-of-sovereignty and making 
sure that user-defined fee logic persists through versions in the future by 
fixing and testing -paytxfee

1. There was an override of ANY user-defined value to CWallet::GetMinimumFee

  - Former logic: always override any value with either -mintxfee or 
    -mintxrelayfee, whichever is highest
    
  - Proposed logic in this pull request:
    - if the user specifies a value, only override when it is lower than 
      -mintxfee or -mintxrelayfee - this works because we set any default
      -mintxfee to be the same as -paytxfee, unless the user explicitly 
      sets a -mintxfee.
    - if no value has been specified, use the rate from -mintxfee or 
      -mintxrelayfee, whichever is highest
      
2. Test that the interaction between the wallet parameters -paytxfee and 
   -mintxfee function as intended. This has to be done using rpc tests rather 
   than unit tests because it tests the actual parameters passed to the 
   executables.
   
3. Undoing the override exposed a misconfiguration in the bumpfee.py test, 
   where fees were explicitly set higher, yet ignored in subsequent bumps.
2021-08-16 23:00:43 +02:00
Patrick Lodder 07be86c147
qa: fix bumpfee now that paytxfee works 2021-08-16 00:17:20 +02:00
Patrick Lodder 59f27ca73d
fees: remove careless override of -paytxfee in GetMinimumFee 2021-08-16 00:17:05 +02:00
Patrick Lodder 2370fc5701
qa: add -paytxfee and -mintxfee interaction test
Test that the interaction between the wallet parameters
-paytxfee and -mintxfee function as intended. This has to
be done using rpc tests rather than unit tests because it
tests the actual parameters passed to the executables.
2021-08-16 00:16:51 +02:00
Patrick Lodder ef260375d1
Merge pull request #2456 from rnicoll/1.14.4-intellij
Added IntelliJ IDEA in .gitignore
2021-08-15 19:13:43 +02:00
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