13481 Commits

Author SHA1 Message Date
Patrick Lodder
d62033cb90
Default policy: reduce default mempool expiry time
Reduces DEFAULT_MEMPOOL_EXPIRY from 336 hours to 24 hours.
Motivation is that while blocks are empty, un-relayable tx are
stuck in mempools for a long time and effectively locking utxo
for 2 weeks until they can be respent, if no RBF opt-in was
performed (most wallet implementations do not do RBF opt-in.)
As the expectation is that block space will not be fully utilized
for the foreseeable future, and therefore, as long as this is the
case, no valid transaction should ever live in the mempool for
more than a couple of minutes.

This default setting can be overridden with the -mempoolexpiry
parameter by individual node operators to a value (expressed
in hours) that makes the most sense for the use cases the node
serves.
2021-01-27 13:20:27 +01:00
Patrick Lodder
f6e7d736d3
Merge pull request #1661 from Vertian/1.14.3-dev-osx
Update package links for OSX cross compilation
2021-01-15 20:31:18 +01:00
Patrick Lodder
3de77ad6d8 [tests] fix rpc ban test: set test time far into the future 2021-01-15 19:19:05 +00:00
Vertian
9327e1d779 Update package links for OSX cross compilation 2021-01-08 16:46:31 -06:00
Patrick Lodder
62976d939b
Merge pull request #1639 from nolim1t/patch-1
Much branding.. wow
2020-08-06 13:35:28 +02:00
Patrick Lodder
cf79da3f96
Merge pull request #1637 from patricklodder/disk_size_and_pruning
Add size_on_disk and addl pruning fields to getblockchaininfo
2020-08-06 09:57:09 +02:00
BT
6edb354e66
Much branding.. wow
Change references in INSTALL.md from Bitcoin to Dogecoin
2020-07-28 12:36:16 +07:00
Patrick Lodder
447af0edcd
Merge pull request #1629 from ftab/1628-fix-dogecoin-links
Fix dogecoin payment links
2020-07-27 14:56:33 +02:00
Patrick Lodder
15c872ce9b
Merge pull request #1626 from bjacquin/dev/beber/deque
httpserver: include deque
2020-07-27 10:26:25 +02:00
Patrick Lodder
578f738810
Merge pull request #1388 from maerco/patch-1
Fixes translation for "Export Address List"
2020-07-27 09:59:51 +02:00
Daniel Edgecumbe
59dcceea58
[backport] [rpc] getblockchaininfo: add size_on_disk, prune_target_size, automatic_pruning
Fix pruneheight help text.
Move fPruneMode block to match output ordering with help text.
Add functional tests for new fields in getblockchaininfo.

Rebase-from: bitcoin#b7dfc6c4
2020-07-24 18:45:39 +02:00
Max K
b0d25579cb
Merge pull request #1636 from patricklodder/1.14-fix-tests
QA: Fix all the tests
2020-07-22 21:16:28 +02:00
Patrick Lodder
16e5ae5939
fix cents->coins in comment in wallet_tests.cpp 2020-07-22 21:12:23 +02:00
Max K
7f269c6c39
Merge pull request #1631 from m-primo/patch-1
README - window build notes file was not found
2020-07-22 20:13:15 +02:00
Max K
e4364e1d0e
Merge pull request #1618 from marcuswin/patch-2
Fix links
2020-07-22 20:10:32 +02:00
Max K
f933c83b75
Merge pull request #1605 from greenbigfrog/patch-1
Get rid of git merge leftover text
2020-07-22 20:07:31 +02:00
Max K
358b2734fb
Merge pull request #1548 from preserveddarnell/patch-1
Update README.md
2020-07-22 20:06:46 +02:00
Max K
29b800443c
Merge pull request #1635 from patricklodder/pl-new-key
New pgp key for patricklodder
2020-07-22 20:02:08 +02:00
Patrick Lodder
89c01f3866
rpc-tests: don't use binary.hex() or binary.fromhex()
To retain compatibility with multiple python3 versions
2020-07-22 13:51:27 +02:00
Patrick Lodder
31e6a818ec
rpc-tests: fix fundrawtransaction coin amounts to not spend dust 2020-07-22 13:51:16 +02:00
Patrick Lodder
9dced9cb98
rpc-tests: write credentials to dogecoin.conf, not bitcoin.conf 2020-07-22 13:51:08 +02:00
Patrick Lodder
e3d075f710
rpc-tests: fix listtransactions to not spend dust 2020-07-22 13:51:00 +02:00
Patrick Lodder
01a71ec71d
rpc-tests: fix mempool_limit test
do more rounds of large tx creation to be sure to evict the
targeted tx
2020-07-22 13:49:54 +02:00
Patrick Lodder
022bcfb064
rpc-tests: fix importprunedfunds for use with dogecoin
- use non-dust outputs
- reverse the order of transactions to lowest-first, to not re-spend
  expected outputs for later tests.
2020-07-22 13:49:36 +02:00
Patrick Lodder
d0afe42ed2
rpc-tests: fix auxpow calls to use .target instead of ._target
Tests weren't adapted to reflect RPC output
2020-07-22 13:49:05 +02:00
Patrick Lodder
e896e90e6e
rpc-tests: revert from litecoin_scrypt to ltc_scrypt
This reflects the dependency installed in the dep script at
qa/pull-tester/install-deps.sh
2020-07-22 13:47:33 +02:00
Patrick Lodder
294d408d70
pull-tester: don't hard depend on python 3.6
every script depends on "python3" not "python3.6"
2020-07-22 13:46:52 +02:00
Patrick Lodder
cb49441a25
Fix ltc_scrypt dependency for RPC tests
- travis: RUN_TESTS requires python3-dev. This enables us to
  compile the ltc_scrypt library under python3
- pull tester deps: use curl instead of wget to reduce dependencies
  as everything else uses curl
2020-07-22 13:46:43 +02:00
Patrick Lodder
d725cfb8a9
dogecoin-tx: fix tests
- explicitly specify v1 and v2 transactions due to 140cc1db
- fix "exec: bitcoin-tx" misses
2020-07-22 13:46:29 +02:00
Patrick Lodder
4b7e35c0ba
Fix the hash of the best block to reflect the Dogecoin block
This was prev tested to be a Bitcoin block in qt rpc tests
2020-07-22 13:45:28 +02:00
Patrick Lodder
7f5d1446d5
qt-tests: Disable payment server test that moves 21M+1 coins.
This is not a testcase for Dogecoin. Like the other payment
server tests, this could be amended, or it can be depreciated,
depending on where we take payment protocol.
2020-07-22 13:45:05 +02:00
Patrick Lodder
7626b811a7
tests: fix non-qt tests that spend dust
- transaction_tests/IsStandard was spending 0.9 DOGE
- tx_validationcache_tests/mempool_dblspend was spending 0.11 DOGE
- wallet_tests/coin_selection was completely built around spending
  cents. This test has been completely reworked and redocumented
  to make sense for Dogecoin
2020-07-22 13:44:44 +02:00
Patrick Lodder
971f696733
travis: fix warnings about sudo and env/matrix 2020-07-22 13:43:50 +02:00
Patrick Lodder
362784404e
New key for patricklodder as old one has expired. 2020-07-20 22:44:19 +02:00
Primo
42c93f32de
window build notes file was not found 2020-04-25 22:07:40 +02:00
Dennis Field
f9ed102553
Change IPC prefix from bitcoin: to dogecoin:
Given that GUIUtil::parseBitcoinURI is expecting it to start with dogecoin,
it seems like this was overlooked, and this results in dogecoin: links not
being processed as expected in handleURIOrFile, ipcParseCommandLine.

Instead of processing the link as a payment request and opening the such send
page, it simply opens the core wallet (or attempts to open another).

This commit makes dogecoin-qt properly handle dogecoin links so that the such
send page is opened with the desired information obtained from the link.

Fixes #1628
2020-02-27 03:06:36 -05:00
Bertrand Jacquin
d53a3bebee
httpserver: include deque
It seems gcc 9.2.0 requires deque to be included:

  x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config   -I. -I./obj -I/usr/include/db5.1/ -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv   -I./secp256k1/include    -pthread -I/usr/include/db5.1 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS    -march=native -O2 -pipe -fomit-frame-pointer -c -o libdogecoin_server_a-httpserver.o `test -f 'httpserver.cpp' || echo './'`httpserver.cpp
  httpserver.cpp:71:10: error: ‘deque’ in namespace ‘std’ does not name a template type
     71 |     std::deque<std::unique_ptr<WorkItem>> queue;
        |          ^~~~~
  httpserver.cpp:30:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
     29 | #include <event2/keyvalq_struct.h>
    +++ |+#include <deque>
     30 |
  httpserver.cpp: In member function ‘bool WorkQueue<WorkItem>::Enqueue(WorkItem*)’:
  httpserver.cpp:110:13: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
    110 |         if (queue.size() >= maxDepth) {
        |             ^~~~~
        |             Enqueue
  httpserver.cpp:113:9: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
    113 |         queue.emplace_back(std::unique_ptr<WorkItem>(item));
        |         ^~~~~
        |         Enqueue
  httpserver.cpp: In member function ‘void WorkQueue<WorkItem>::Run()’:
  httpserver.cpp:125:35: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
    125 |                 while (running && queue.empty())
        |                                   ^~~~~
        |                                   Enqueue
  httpserver.cpp:129:31: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
    129 |                 i = std::move(queue.front());
        |                               ^~~~~
        |                               Enqueue
  httpserver.cpp: In member function ‘size_t WorkQueue<WorkItem>::Depth()’:
  httpserver.cpp:154:16: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
    154 |         return queue.size();
        |                ^~~~~
        |                Enqueue
2020-01-24 20:16:27 +00:00
marcuswin
06005bd194
Fix links 2019-11-13 23:51:17 +03:00
langerhans
0b46a40ed1 Set next release version to 1.14.2 v1.14.2 2019-11-03 19:45:02 +01:00
Max K
d5d4388a16
Merge pull request #1615 from rnicoll/1.14/dust-fees
Correct dust and change
2019-11-03 19:42:47 +01:00
Ross Nicoll
388fb79a3a Fix dust threshold at 1 DOGE 2019-11-03 17:25:06 +00:00
Ross Nicoll
093f1abf40 Correct dust and change
Correct dust threshold, which is never less than 1 DOGE.
Correct minimum change, which is 1 DOGE.
2019-11-03 09:55:30 +00:00
Jonathan
8877f8ed91
Get rid of git merge leftover text 2019-08-05 21:51:05 +02:00
Max K
c348148022
Merge pull request #1601 from langerhans/1.14-supermajority-rpc
Fix RPC description of supermajority based forks
v1.14.1
2019-07-14 20:53:40 +02:00
langerhans
2de4045585 Fix RPC description of supermajority based forks 2019-07-14 19:38:26 +02:00
langerhans
5d58c691ca Merge branch 'rnicoll-rnicoll/1.14-litecoin-scrypt' into 1.14-maint 2019-07-14 19:21:56 +02:00
langerhans
6eab99b581 Merge branch 'rnicoll-rnicoll/1590-rebase' into 1.14-maint 2019-07-14 19:20:13 +02:00
langerhans
ae9065a17e Merge branch 'rnicoll-rnicoll/1591-rebase' into 1.14-maint 2019-07-14 19:17:14 +02:00
langerhans
e1b456e562 Merge branch 'rnicoll-rnicoll/1.14-auxpow-target' into 1.14-maint 2019-07-14 19:14:53 +02:00
Ross Nicoll
dbfb33abe0 Revert behaviour change in getauxblock
Change getauxblock to respond with a "target" field instead of "_target".
2019-07-13 19:23:36 +00:00