Commit graph

9121 commits

Author SHA1 Message Date
Patrick Lodder 54ab96311d
Merge pull request #1835 from chromatic/fix-importprivkey-doc
Switch `bitcoinprivkey` to `dogecoinprivkey`
2021-04-19 15:33:20 +02:00
chromatic 3386274dcd Switch bitcoinprivkey to dogecoinprivkey 2021-04-18 10:47:16 -07:00
Patrick Lodder dfb78d26dc
[bugfix] fix text overflow on paper wallet
- use Courier instead of "monospace" as font family as the latter
  does not translate to an actual monospace font properly
- make address and privkey fields to have equal dimensions and
  margins, because their fontsizes are calculated uniformly too
- make the max font size 98% of the wallet, instead of 99%
2021-03-20 01:35:00 +01:00
Patrick Lodder 843281ce87
[qt] User-friendly interpretation of null responses in rpc console
Translates "null" (UniValueNull) to "Empty response".
2021-03-11 10:02:18 +01:00
Ross Nicoll 4ffde07033
Merge pull request #1770 from patricklodder/1.14.3-url-sanity-check
[qt] only allow https explorer links
2021-02-27 22:59:23 +00:00
Patrick Lodder b2211a4139
[qt] only allow https explorer links
As reported by Fabian Braeunlein of PS Positive Security GmbH
2021-02-27 22:53:15 +01:00
Ross Nicoll 80e9e800e1
Replace Bitcoin seed nodes with Dogecoin nodes (#1746) 2021-02-27 20:40:40 +00:00
Patrick Lodder 4dd49512e9
Merge pull request #1762 from DemonRx/ignore-proxy-connection-error
[netbase] Do not print an error on connection timeouts through proxy
2021-02-24 20:42:58 +01:00
Demon ce4f6974b0 ignore-proxy-connection-error 2021-02-23 23:31:02 -05:00
tnaka b3d9bbc7dc fixed listunspent rpc convert parameter 2021-02-22 22:23:14 +01:00
Pedro Branco 3c1fa13921 Add query options to listunspent rpc call 2021-02-22 22:23:09 +01:00
Patrick Lodder 18a55c271c
Merge pull request #1638 from patricklodder/1.14.3-locale-sorting
Locale independent sorting
2021-02-22 11:52:04 +01:00
Carsen Klock dda4b51d89
Update chainparams.cpp (#1751)
Removed Denarius (D) seeders for Dogecoin.
2021-02-21 08:19:17 +00:00
Patrick Lodder 3007516320
Merge pull request #1707 from eltociear/patch-2
[wallet] fix typo in rpcwallet.cpp
2021-02-17 23:38:58 +01:00
Ross Nicoll d117d075a4
Merge pull request #1676 from shibe2/skipcheckpow
Don't recompute AuxPoW when serving peer requests
2021-02-15 20:36:38 +00:00
Max K 5887ca3ec5
Merge pull request #1655 from John-Gee/1.14.3-dev
Build on recent Linux
2021-02-14 18:51:02 +01:00
Ross Nicoll 58ce7f5405 Add testnet checkpoints 2021-02-14 13:36:15 +00:00
Ross Nicoll 7f754bbf05 Add live checkpoints 2021-02-14 13:36:15 +00:00
Reiner Herrmann c7fa40b00d
Locale independent sorting
Some locales sort differently, which causes a different order
of files, which leads to an unreproducible build.
Sort the files always with the C locale.
2021-02-13 17:51:31 +01:00
Patrick Lodder 0c600d7f9d
Fixate BIP65 softfork heights
- Re-introduce Params.BIP65Height
- Fixate block 1854705 for testnet
- Fixate block 3464751 for mainnet
- Fixate block 1351 for regtest
- Stop using IsSuperMajority() in validation for BIP65
- Simplify RPC SoftForkMajorityDesc
2021-02-13 17:24:55 +01:00
Shibe ef9242b9ec Don't re-check AuxPoW when sending data to peers
Checking scrypt PoW is expensive and needless in this case. All block
headers are already checked when they are accepted, and they will be
checked again on the receiving end.
2021-02-08 16:52:55 +04:00
Patrick Lodder d96b5daafa
Merge pull request #1705 from rnicoll/block-download-timeout
Adapt block download timeouts to Dogecoin
2021-02-08 10:50:23 +01:00
Ross Nicoll f9b9a591b8 Halve timeouts 2021-02-07 22:57:46 +00:00
Patrick Lodder 27488d8f57
Merge pull request #1706 from slightlyskepticalpotat/master
fix minimum required space for data directory
2021-02-07 23:21:03 +01:00
Anthony Chen 676c24b64c
Update src/qt/intro.cpp
Co-authored-by: Ross Nicoll <ross.nicoll@r3.com>
2021-02-06 13:35:02 -05:00
Ikko Ashimine 3ba037d793
[wallet] fix typo in rpcwallet.cpp
replacable -> replaceable
2021-02-06 12:05:47 +09:00
Anthony Chen 3b477bcd53 fix minimum required space for data directory 2021-02-05 21:57:47 -05:00
Ross Nicoll a4638bb50f Adapt block download timeouts to Dogecoin
Block download timeouts are expressed as a fraction of block interval time, so Dogecoin values have been too aggressive.
Matching Bitcoin values as a starting point.
2021-02-05 23:36:38 +00:00
John-Gee 26a1c76b1e Fixed for Qt 5 2021-02-02 03:56:23 -08:00
John-Gee 41406bfa17 Fix for Boost 1.74 2021-02-02 03:54:57 -08:00
Patrick Lodder c338a71bd2
Merge pull request #1669 from carsenk/master
New DNS Seeders for DOGE
2021-02-01 18:00:14 +01:00
Ross Nicoll 4aafd6fabd
Merge pull request #1664 from patricklodder/1.14.3-mempool-expiry
Default policy: reduce default mempool expiry time
2021-01-31 17:30:40 +00:00
Patrick Lodder 0a09a9cef1
Merge pull request #1684 from eltociear/patch-1
[Qt] fix typo in bitcoingui.cpp
2021-01-31 17:40:03 +01:00
Ikko Ashimine 62c493e7a8
[Qt] fix typo in bitcoingui.cpp
availble -> available
2021-01-31 14:38:31 +09:00
Carsen Klock 0f4815d2b7
Removed Comments
Doges, just do not forgot who made Dogecoin great again

DENARIUS (D) https://denarius.io
2021-01-30 19:03:25 -07:00
Carsen Klock ad8d1eadae
Added new denarius.pro seeders for DOGE
D helping D
2021-01-29 16:34:45 -07:00
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 3de77ad6d8 [tests] fix rpc ban test: set test time far into the future 2021-01-15 19:19:05 +00: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
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
Patrick Lodder 16e5ae5939
fix cents->coins in comment in wallet_tests.cpp 2020-07-22 21:12:23 +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
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