14277 Commits

Author SHA1 Message Date
Old Dip Tracker
5eb3a70cdc
Merge pull request #2988 from alamshafil/liststucktx
Add an RPC method showing wallet transactions that are not in the mempool
2022-06-19 19:00:29 -04:00
chromatic
8c20b002a6 Force verifychain RPC args to be positive
Verification levels must be between 0 and 4 inclusive, and block heights should
always be positive. While code in the scan process handles the latter case with
a default value, it's better to verify and reject invalid input where it first
enters the system.
2022-06-19 07:01:45 -07:00
Patrick Lodder
0bca077efb
improve some user-facing strings
- improves conciseness of tips displayed in Qt
- makes the function of the reset button on the importkeydialog
  describe reality
- describe alertnotify to match the new reality after 565280f4
- make sure that "koinu" is not expressed as "koinus"
- fix type in advanced send screen
2022-06-19 00:56:30 +02:00
chromatic
5f5d6a381c Extract wallet RPC utility file 2022-06-18 12:14:34 -07:00
chromatic
c0e27fc825 Make dumpwallet/backupwallet use backupdir path
This adds more defensiveness around dumping or backing up wallets, so
that the directory and filepaths are always available (even if they were
on transient storage that was removed), and that they never overwrite
other files.
2022-06-18 12:14:34 -07:00
chromatic
5735276cc5 Add -backupdir CLI option
This allows users to set the directory in which to store backups and
datadumps.  If not provided, defaults to a subdirectory of `datadir`
called `backups/`, and if that cannot be created, defaults to `datadir`.
2022-06-18 12:14:20 -07:00
chromatic
132ebe6858
Merge pull request #2994 from patricklodder/1.14.6-fix-premade-chain-qa
qa: remove test-local dependencies on enable_mocktime
2022-06-18 12:02:44 -07:00
Patrick Lodder
f1635db252
doc: maintain the biplist
It was noted that there is no clear documentation of which protocol
features are available for Dogecoin. This document fulfills that
function, but hasn't been maintained thus far.

This PR changes the document to list all the BIPs implemented and
activated by Dogecoin Core until v1.14.6, and adds protocol
features from other code bases we have adopted.
2022-06-17 19:15:20 +02:00
Old Dip Tracker
e22b54607c
Merge pull request #2991 from chromatic/remove-alert-system
Remove alert system
2022-06-17 12:29:21 -04:00
Patrick Lodder
022bb18a78
qa: add test for liststucktransactions
Creates a wallet with stuck transactions and then tests the
liststucktransactions rpc method on that wallet
2022-06-17 11:20:38 -04:00
alamshafil
6fc61972b8 Add RPC method showing wallet TX not in mempool 2022-06-17 11:20:22 -04:00
Old Dip Tracker
b3beca6cc4
Merge pull request #2758 from patricklodder/1.14.6-maxlocsz
net: Introduce a maximum size for locators
2022-06-17 08:05:37 -04:00
Old Dip Tracker
7c5901ec12
Merge pull request #2936 from alamshafil/update-zlib
Depends: Update zlib to 1.2.12
2022-06-16 15:08:25 -04:00
Patrick Lodder
edf67d5109
qa: remove test-local dependencies on enable_mocktime()
Tests that depend on enable_mocktime() because they use the cached
chain are testing things that need actual time. Because we're
mocking time more often when we are processing messages, these
tests fail (because to the node, no time expires)

This rewrites these tests to no longer use the cached chain.

Tests affected:

- listtransactions.py
- receivedby.py
2022-06-16 16:41:24 +02:00
Old Dip Tracker
71507dde41
Merge pull request #2934 from chromatic/retain-traffic-graph-values
Retain traffic graph values
2022-06-15 11:09:05 -04:00
chromatic
565280f457 Remove alert system
While looking at the network code, we realized this code is unused and
largely unmaintained. Given issue #2231, and its removal in 1.21, it's
time to remove it now.

This has the nice benefit of removing a single point of failure/control
(because it depends on a keypair to send alerts).

This code restores the pre-alert behavior before the merge of PR #1470.
2022-06-14 17:09:57 -07:00
chromatic
530e7c1008 Retain network traffic data on slider change
See #2523, a request not to drop data when changing the time scale of
the graph.

This change includes several components performed by @michilumin:

 * allows resampling and data retention
 * separates data from visual sample stores on the graph
 * uses averages instead of maximums for samples
 * improves timing accuracy

Co-authored-by: Michi Lumin <michi@luskwood.org>
2022-06-13 13:20:34 -07:00
chromatic
c6cd7efb56
Merge pull request #2986 from patricklodder/1.14.6-mockable-microtime
net: implement a mockable micro time
2022-06-13 12:50:06 -07:00
Patrick Lodder
a31fa4ff01
net: implement a mockable micro time
Throughout the code, we use mockable time in places where we want
to test things that are subject to timing constraints, but don't
want to wait for great amounts of time when we use the regtest
network to ensure nothing gets broken. Mockable time is a system
time override that is only enabled on chains that have the
fMineBlocksOnDemand parameter set (currently: regtest).

Currently, only time expressed in seconds is able to be mocked, but
we have a couple of places where time is evaluated in microseconds,
one of them being the time between sending out addr messages.

This introduces a mockable time in microseconds and refactors the
time evaluation for addr messages to be mocked, so that we can
more reliably (and faster) test that.

Other protocol features may want to use this too, but currently the
sending of addr messages is the only place we test. Bitcoin Core
nowadays has a much better time system that we inherit in future
versions, but for the current scope I found this not worth the
effort of backporting, as these would impact a much larger part of
the code base.

Inspired by: 1a8f0d5a from Amiti Uttarwar
2022-06-12 21:09:22 +02:00
Patrick Lodder
3845240ff7
gitian: minor fixups
- explain apt-cacher post-installation tasks
- change doc example to 1.14.5 because 1.14.4 expects trusty
- remove pressure on bitcoincore.org by downloading files from
  dogecoincore.org
2022-06-12 02:47:51 +02:00
chromatic
ed487e80c7
Merge pull request #2976 from patricklodder/1.14.6-addr-qa
qa: add tests for `addr` messages
2022-06-09 19:53:05 -07:00
Patrick Lodder
231066d78d
qa: add tests for p2p addr messages
This creates a baseline for future work on addr messages
2022-06-06 11:59:07 +02:00
Patrick Lodder
fe90690fb2
qa: support addr message time field in mininode.py
Adds the time field to addr messages from protocol version 31402,
but serialize/deserialize without it for version messages. This
allows us to test p2p addr messages.

See src/version.h and c891967b
2022-06-06 11:59:06 +02:00
chromatic
99c19a1a34
Merge pull request #2978 from patricklodder/1.14.6-fix-w64-ci
ci: force remove mono from windows builds
2022-06-05 17:28:47 -07:00
Old Dip Tracker
3c2a095361
Merge pull request #2970 from H-MAli/development
Added Persian translation of README.md file
2022-06-05 13:23:17 -04:00
Patrick Lodder
d5121c584b
ci: force remove mono from windows builds
After a bionic update on 2022/06/03, Github Actions images have a
mono-runtime installation that takes precedence over wine, which
we need for running the tests.

This removes mono-runtime from both win CI jobs if it exists, so
that it doesn't bother us anymore in any way thinkable. We do not
need mono there, as we do not .net

Although the issue only manifested on x86_64-w64-mingw32 builds,
this also removes it from the i686-w64-mingw32 build as a
precaution.
2022-06-05 14:30:54 +02:00
Old Dip Tracker
1fcd30fa23
Merge pull request #2798 from MVShishkov/patch-1
Update README_zh_CN.md
2022-06-02 11:59:33 -04:00
Old Dip Tracker
cf65be1dc1
Merge pull request #2968 from scarletletters/patch-1
Create README_pt_BR.md
2022-06-02 11:58:56 -04:00
chromatic
1718d3c467
Merge pull request #2954 from patricklodder/1.14.6-contrib-pr-timing
doc: formalize pull request review timelines
2022-05-31 09:12:26 -07:00
Chao Liu
05a6c744f5
Update README_zh_CN.md 2022-05-31 17:58:01 +02:00
MVShishkov
df2f3bcce9
Update README_zh_CN.md 2022-05-31 17:46:27 +02:00
Matheus Bach
35c0f0c6dd
improved pt_BR readme translation 2022-05-31 17:35:56 +02:00
scarletletters
aea8b90a8d
Create README_pt_BR.md
A fully translated version of README on Brazilian Portuguese. For better assessment and understanding of Dogecoin Core. It should be refered on EN and CH Readme files too.
2022-05-31 17:35:28 +02:00
Old Dip Tracker
baf3e4cd72
Merge pull request #2971 from vijaychowthri/patch-1
Update bitcoin_ta.ts
2022-05-31 11:32:17 -04:00
Old Dip Tracker
e4e8c4b48b
Merge pull request #2953 from jadehamel/donotsharepk
Change sentence in UI that could suggest a private key is not 100% private
2022-05-31 11:29:48 -04:00
Old Dip Tracker
7b56cdbf14
Merge pull request #2807 from steve-cw-chung/master
Updating bitcoin_ko_KR.ts
2022-05-29 08:28:57 -04:00
AbcSxyZ
bc6d4f64ee
gitian: re-integrate and fix up #2396
- undelete & update previous script
- update description + comments
- reorganize help menu of gitian-build.sh
- rewrite option explanation for --sign with gpg
- remove docker reference from setup option
- update documentation
- re-enable external signing
- re-enable apt cacher and use apt cacher by default
- switch from trusty to bionic
- remove gpg key verification + display message for
  detached signature
- revert script name change for sign descriptors
- list pgp in required dependencies + remove apache
2022-05-28 14:56:18 +02:00
Micael Malta
3153bfa186
Gitian builder 2022-05-28 14:56:14 +02:00
Steve Chung
35914ee5c7
Update bitcoin_ko_KR.ts
added all the missing translations and fixed incorrect translations
2022-05-28 01:33:52 +02:00
VJ
00e5e75aa9
Update bitcoin_ta.ts
I have updated a meaningful full translation that any once can understand.
2022-05-26 15:15:01 -04:00
Mohammad Ali Haghshenas
e64cdcf441 Added Persian translation of README.md file 2022-05-26 18:26:41 +04:30
Jade Hamel
c70a5eea9e
Fix ambigous tip 2022-05-25 17:48:03 +02:00
Old Dip Tracker
6fd30245b4
Merge pull request #2956 from katesalazar/202205150706
Ignore bench_dogecoin
2022-05-17 10:02:10 -04:00
Old Dip Tracker
159786718f
Merge pull request #2912 from MishaBoar/master
Italian Translation Update
2022-05-17 10:01:44 -04:00
katesalazar
2229878cfa Ignore bench_dogecoin 2022-05-15 09:06:50 +00:00
MishaBoar
0bec3d4cd7 Added changes suggested, minor corrections to other phrases 2022-05-14 05:20:55 +02:00
Old Dip Tracker
23eb7b3cc0
Merge pull request #2947 from Maniixer/patch-1
Dutch/Flamish Translation Update
2022-05-13 19:28:02 -04:00
Patrick Lodder
c52dd654c3
doc: formalize pull request review timelines
Describes a pull request process that prevents maintainers from
merging code too quickly, giving contributors a chance to react to
changes and voice concerns before a pull request is merged and
closed. This makes development more transparent and inclusive.

The process prescribes a lag time between maintainer approval and
merge of minimally 24 hours because that creates a workable
balance between maintaining development momentum and transparency.

Maintenance tasks are exempt from the lag time requirement, as are
time-critical fixes.
2022-05-13 18:38:34 +02:00
chromatic
4d837b2395
Merge pull request #2903 from thisiskeanyvy/master
Complete update of the French translation file (bitcoin_fr.ts)
2022-05-12 15:53:55 -07:00
Maniixer
d77d10c741
Update bitcoin_nl.ts
Changed Typo Saldi to Saldo.
Added translation to most of the type="unfinished" might have missed some.
2022-05-12 20:49:36 +02:00