Johnson Lau
46a4774d2b
Fix nulldummy.py test
8 years ago
Wladimir J. van der Laan
30930e847e
test: Explicitly set encoding to utf8 when opening text files
...
These are text files but their encoding does not depend on the locale.
Not all of them require utf8 but it is better to fix it at something
to remove potential unpredictability.
This is necessary on FreeBSD where no locale is set by default,
and apparently Python defaults not only the terminal encoding to the locale
but that of every text file. So without LOCALE environment it defaults text
file encoding to ASCII. This causes problems with e.g. `bitcoin.conf`.
Luckily the locale doesn't affect the default encoding for str.encode() and
bytes.decode() on Python 3, so this is the only change necessary.
8 years ago
Wladimir J. van der Laan
f560d9564f
Merge #8826 : Do not include env_win.cc on non-Windows systems
...
7e5fd71
Do not include env_win.cc on non-Windows systems (Pavel Janík)
8 years ago
Wladimir J. van der Laan
c9d7b0de2f
Merge #8834 : [qa] blockstore: Switch to dumb dbm
...
fa9cd25
[qa] blockstore: Switch to dumb dbm (MarcoFalke)
8 years ago
Wladimir J. van der Laan
c84181665f
Merge #8819 : [depends] Boost 1.61.0
...
16f8823
[depends] Boost 1.61.0 (fanquake)
8 years ago
Wladimir J. van der Laan
1d28faf9e9
test: Avoid ConnectionResetErrors during RPC tests
...
This is necessary on FreeBSD and MacOSX, at least.
See https://github.com/bitcoin/bitcoin/pull/8834#issuecomment-250450213
8 years ago
Wladimir J. van der Laan
2dd57e4f9f
Merge #8835 : [qa] nulldummy.py: Don't run unused code
...
fa156c6
[qa] nulldummy: Don't run unused code (MarcoFalke)
8 years ago
jnewbery
da94697708
bitcoin-util-test.py should fail if the output file is empty
8 years ago
MarcoFalke
fa156c604e
[qa] nulldummy: Don't run unused code
8 years ago
Wladimir J. van der Laan
9b94cca41f
Merge #8658 : Remove unused statements in serialization
...
64d9507
[WIP] Remove unused statement in serialization (Pavel Janík)
8 years ago
jnewbery
b82f493938
Add option to run bitcoin-util-test.py manually
8 years ago
MarcoFalke
fa85e860a9
[qt] sync-overlay: Don't show estimated number of headers left
8 years ago
MarcoFalke
cc9e8aca5f
Merge #8827 : [qa] Split up slow RPC calls to avoid pruning test timeouts
...
a0f8482
[qa] Split up slow RPC calls to avoid pruning test timeouts (Suhas Daftuar)
8 years ago
MarcoFalke
fa9cd25ed0
[qa] blockstore: Switch to dumb dbm
8 years ago
MarcoFalke
8ca69a2a88
Merge #8829 : Add bitcoin-tx JSON tests
...
54e5d7c
Add bitcoin-tx JSON tests (jnewbery)
8 years ago
Wladimir J. van der Laan
489a6ab507
Merge #8730 : depends: Add libevent compatibility patch for windows
...
64047f8
depends: Add libevent compatibility patch for windows (Wladimir J. van der Laan)
8 years ago
Wladimir J. van der Laan
7d563cc16d
Merge #8832 : [rpc] throw JSONRPCError when utxo set can not be read
...
fa05cfd
[rpc] throw JSONRPCError when utxo set can not be read (MarcoFalke)
8 years ago
Wladimir J. van der Laan
d675984fdf
Merge #8784 : Copyright headers for build scripts
...
0c4e6ce
Add MIT license to build-aux/m4 scripts (Luke Dashjr)
3f8a5d8
Trivial: build-aux/m4/l_atomic: Fix typo (Luke Dashjr)
3b4b6dc
Add MIT license to autogen.sh and share/genbuild.sh (Luke Dashjr)
f4dffdd
Add MIT license to Makefiles (Luke Dashjr)
8 years ago
MarcoFalke
fa05cfdf25
[rpc] throw JSONRPCError when utxo set can not be read
8 years ago
jnewbery
54e5d7c1b8
Add bitcoin-tx JSON tests
8 years ago
Suhas Daftuar
a0f8482f3e
[qa] Split up slow RPC calls to avoid pruning test timeouts
8 years ago
Wladimir J. van der Laan
dc641415e7
Merge #8820 : [depends] Fix Qt compilation with Xcode 8
...
5776e8a
[depends] Fix Qt compilation with Xcode 8 (fanquake)
8 years ago
Pavel Janík
7e5fd7198e
Do not include env_win.cc on non-Windows systems
8 years ago
Wladimir J. van der Laan
7b05af634b
Merge #8823 : doc: Add privacy recommendation when running hidden service
...
ac01ff2
doc: Add privacy recommendation when running hidden service (Wladimir J. van der Laan)
8 years ago
Wladimir J. van der Laan
305087bdf6
net: Hardcode protocol sizes and use fixed-size types
...
The P2P network uses a fixed protocol, these sizes shouldn't change
based on what happens to be the architecture.
8 years ago
Wladimir J. van der Laan
41e58faf04
net: Consistent checksum handling
...
In principle, the checksums of P2P packets are simply 4-byte blobs which
are the first four bytes of SHA256(SHA256(payload)).
Currently they are handled as little-endian 32-bit integers half of the
time, as blobs the other half, sometimes copying the one to the other,
resulting in somewhat confused code.
This PR changes the handling to be consistent both at packet creation
and receiving, making it (I think) easier to understand.
8 years ago
Wladimir J. van der Laan
14b7b3fb9f
Merge #8814 : [wallet, policy] ParameterInteraction: Don't allow 0 fee
...
fa4bfb4
[wallet, policy] ParameterInteraction: Don't allow 0 fee (MarcoFalke)
8 years ago
Wladimir J. van der Laan
fc4f4547b7
Merge #8634 : Add policy: null signature for failed CHECK(MULTI)SIG
...
e41bd44
Add policy: null signature for failed CHECK(MULTI)SIG (Johnson Lau)
8 years ago
Johnson Lau
e41bd449ab
Add policy: null signature for failed CHECK(MULTI)SIG
8 years ago
Wladimir J. van der Laan
5a4f6d72e6
Merge #8526 : Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH
...
c72c5b1
Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH (Johnson Lau)
8 years ago
Wladimir J. van der Laan
e9d5f6fec8
Merge #8357 : [mempool] Fix relaypriority calculation error
...
94a34a5
Fix relaypriority calculation error (maiiz)
8 years ago
Wladimir J. van der Laan
14e8f9916b
Merge #8810 : tests: Add exception error message for JSONRPCException
...
42f6aed
tests: Add exception error message for JSONRPCException (Wladimir J. van der Laan)
8 years ago
Wladimir J. van der Laan
ac01ff22be
doc: Add privacy recommendation when running hidden service
8 years ago
Wladimir J. van der Laan
920ca1f0bf
Merge #8655 : Do not shadow variables (trivials)
...
4731cab
Do not shadow variables (Pavel Janík)
8 years ago
Wladimir J. van der Laan
6e54c85439
Merge #8803 : Ping regularly in p2p-segwit.py to keep connection alive
...
0637b02
Ping regularly in p2p-segwit.py to keep connection alive (Johnson Lau)
8 years ago
Pavel Janík
4731cab8fb
Do not shadow variables
8 years ago
fanquake
5776e8a596
[depends] Fix Qt compilation with Xcode 8
8 years ago
fanquake
16f8823088
[depends] Boost 1.61.0
8 years ago
MarcoFalke
faa4de2a2a
[qt] sync-overlay: Don't block during reindex
8 years ago
MarcoFalke
2f71490d21
Merge #8805 : Trivial: Grammar and capitalization
...
c9ce17b
Trivial: Grammar and capitalization (Derek Miller)
8 years ago
Wladimir J. van der Laan
8f1fbf36a7
Merge #8796 : [trivial] fix mempool comment (outdated by BIP125)
...
c14ffd5
[trivial] fix mempool comment (outdated by BIP125) (jonnynewbs)
8 years ago
Wladimir J. van der Laan
dd20ed1223
Merge #8780 : [rpc] Deprecate getinfo
...
fa6e71b
[qa] Add getinfo smoke tests and rework versionbits test (MarcoFalke)
ddddaaf
[rpc] Deprecate getinfo (MarcoFalke)
8 years ago
Wladimir J. van der Laan
bb843adc8d
Merge #8722 : bitcoin-cli: More detailed error reporting
...
381826d
bitcoin-cli: More detailed error reporting (Wladimir J. van der Laan)
8 years ago
jonnynewbs
c14ffd524b
[trivial] fix mempool comment (outdated by BIP125)
8 years ago
MarcoFalke
fa4bfb4819
[wallet, policy] ParameterInteraction: Don't allow 0 fee
8 years ago
Wladimir J. van der Laan
ab0b411868
Merge #8486 : [wallet] Add high transaction fee warnings
...
faef293
[wallet] Add high transaction fee warnings (MarcoFalke)
8 years ago
Matthew King
a92bf4af66
bitcoind: Daemonize using daemon(3)
...
Simplified version of #8278 . Assumes that every OS that (a) is supported
by Bitcoin Core (b) supports daemonization has the `daemon()` function
in its C library.
- Removes the fallback path for operating systems that support
daemonization but not `daemon()`. This prevents never-exercised code from
ending up in the repository (see discussion here:
https://github.com/bitcoin/bitcoin/pull/8278#issuecomment-242704745 ).
- Removes the windows-specific path. Windows doesn't support `daemon()`,
so it don't support daemonization there, automatically.
Original code by Matthew King, adapted by Wladimir van der Laan.
8 years ago
Wladimir J. van der Laan
4e1567acff
Merge #8249 : Enable (and check for) 64-bit ASLR on Windows
...
62c2915
build: supply `-Wl,--high-entropy-va` (Wladimir J. van der Laan)
9a75d29
devtools: Check for high-entropy ASLR in 64-bit PE executables (Wladimir J. van der Laan)
8 years ago
Wladimir J. van der Laan
62c291596b
build: supply `-Wl,--high-entropy-va`
...
This should enable high-entropy ASLR on 64-bit targets, for better
mitigation of exploits.
8 years ago
Wladimir J. van der Laan
9a75d29b6f
devtools: Check for high-entropy ASLR in 64-bit PE executables
...
check_PE_PIE only checked for DYNAMIC_BASE, this is not enough
for (secure) ASLR on 64-bit.
8 years ago