lateminer
aabee84651
Add GetTransactionSigOpCount unit tests
2018-11-11 17:11:01 +03:00
Wladimir J. van der Laan
a1f776cd3c
tests: add varints_bitpatterns test
...
The current tests for varint only check that
serialization-deserialization is a roundtrip. That is a useful test, but
it is also good to check for some exact bit patterns, to prevent a code
change that changes the serialization format from going undetected.
As the varint functions are templated, also check with different types.
2018-11-11 16:43:34 +03:00
Luke Dashjr
5a59508b27
Rewrite FormatParagraph to handle newlines within input strings correctly
2018-11-11 16:36:55 +03:00
lateminer
ca70ac43ab
Add amount check to SignatureHash()
...
test/sighash_tests.cpp
2018-11-11 16:35:31 +03:00
Pavel Janík
576b08a7f8
Remove unused local variable shadowing upper local
2018-11-11 16:30:11 +03:00
Ethan Heilman
bec58f282f
Fix typo adddrman to addrman as requested in #8070
2018-11-11 16:09:11 +03:00
EthanHeilman
90342d8b9c
Remove non-determinism which is breaking net_tests #8069
2018-11-11 16:08:59 +03:00
Suhas Daftuar
611af28b87
Add unit tests for ancestor feerate mining
2018-11-11 16:00:45 +03:00
instagibbs
65db743b28
Corrected values
2018-11-11 16:00:13 +03:00
instagibbs
bb82eb1692
Gave miner test values constants for less error-prone values.
2018-11-11 15:59:24 +03:00
Pieter Wuille
0ebc1549ca
Change sigOpCount to sigOpCost
...
test_bitcoin.cpp
test_bitcoin.h
2018-11-11 15:51:19 +03:00
Pieter Wuille
fbd2dec95f
Implement SipHash in Python
...
Github-Pull: #8418
Rebased-From: 9c8593d2b4e25ef628172ceadbedf0ef078d01ef
2018-11-11 15:22:50 +03:00
jnewbery
7f51c400d2
bitcoin-util-test.py should fail if the output file is empty
...
Github-Pull: #8836
Rebased-From: da9469770847df56e67e629986129a087b5bd7a5
2018-11-11 15:16:54 +03:00
Pavel Janík
e85f041d13
Do not shadow local variables
2018-11-11 15:15:22 +03:00
Jeremy Rubin
a638b3764c
Fix obvious assignment/equality error in test
...
Github-Pull: #8673
Rebased-From: 426e7bce0e365e0947f932ca46bcc48ca3a2f10e
2018-11-11 15:13:53 +03:00
Chris Stewart
941baa9eb5
Update README.md
...
Updating documentation for adding new unit test files
Removing unneeded sentence from README
Removing uint160_tests.cpp as it DNE
Formatting command line instructions to use ``
fixing 80 char formatting issue in README
fixing more nits
Github-Pull: #8428
Rebased-From: b8db185952c815444b7052092472ef9af3a42e89
2018-11-11 15:12:37 +03:00
Pieter Wuille
a43a6df7ef
Add amounts to signature tests
2018-11-11 15:11:37 +03:00
lateminer
c5016d8d3c
Remove missing locales
...
qt/bitcoin_locale.qrc
2018-11-10 20:33:27 +03:00
Karl-Johan Alm
a92f016b70
Uses built-in byte swap if available (Apple) and if bswap_XX is undefined
2018-11-10 20:09:05 +03:00
Gregory Maxwell
c0c8c006aa
IsInitialBlockDownload no longer uses header-only timestamps.
2018-11-10 19:55:45 +03:00
jnewbery
c7f6a2e815
Add bitcoin-tx JSON tests
...
Github-Pull: #8829
Rebased-From: 54e5d7c1b81e1b76f5789abfa2cb1f5963cd9d72
2018-11-10 18:46:43 +03:00
lateminer
acb9b1b6b2
Update repository root directory from Bitcoin Core 0.13.2
2018-11-10 18:41:32 +03:00
lateminer
34b50d3645
Update qa from Bitcoin Core 0.13.2
2018-11-10 18:07:40 +03:00
Mitchell Cash
cceb5fb27a
Correct small typo in extract_strings_qt.py
2018-11-10 16:35:15 +03:00
Alice Wonder
504af0f89e
Update docs from Bitcoin Core 0.13.2
2018-11-10 16:28:07 +03:00
Alice Wonder
76fe5c393d
All files related to my RPM spec file project in one commit
2018-11-10 00:12:10 +03:00
lateminer
6c033f11df
Remove reference to test patches
2018-11-10 00:11:03 +03:00
Alice Wonder
66dc01c23c
Description of RPM directory
2018-11-10 00:06:37 +03:00
isle2983
c37822da78
[copyright] add MIT License copyright header to zmq_sub.py
...
Github-Pull: #8701
Rebased-From: 37a7fe9e440b83e2364d5498931253937abe9294
2018-11-10 00:05:07 +03:00
lateminer
89564cb3b8
Update contrib/verify-commits
2018-11-10 00:03:43 +03:00
Luke Dashjr
723fbec1d3
Bugfix: Correct copyright year in Mac DMG background image
2018-11-09 23:50:26 +03:00
lateminer
b94a0b413f
Remove contrib/macdeploy/Base.lproj/InfoPlist.strings
2018-11-09 23:46:49 +03:00
BtcDrak
ff2acad9a1
Update btcdrak signing key
...
Github-Pull: #8662
Rebased-From: 46606af200db563ca742b56f291cee2311a27491
2018-11-09 23:35:57 +03:00
Luke Dashjr
36e46640d1
Update luke-jr's PGP key
...
Same key, extended expiration date
2018-11-09 23:35:48 +03:00
Johnson Lau
d1f6c993be
Update gitian signing key of jl2012
...
Github-Pull: #8950
Rebased-From: 9b0d8efe811058928a6ed3a55c0b6d58e13b22ba
2018-11-09 23:35:31 +03:00
MarcoFalke
065a20fce2
[gitian] Move keys to contrib/gitian-keys
2018-11-09 23:34:27 +03:00
MarcoFalke
c5fbfdf373
[gitian] Add marcofalke-key.pgp
2018-11-09 23:32:53 +03:00
lateminer
402eb6dc15
Update contrib/gitian-descriptors
2018-11-09 23:31:42 +03:00
Luke Dashjr
852e6ce19c
More complicated package name substitution for Mac deployment
2018-11-09 23:25:32 +03:00
MarcoFalke
53cce15e55
[doc] Update git-subtree-check.sh README
...
Github-Pull: #8545
Rebased-From: fa3d9740099c8513f9942983f135f58890e62cb5
2018-11-09 23:01:11 +03:00
MarcoFalke
7d168c8663
[doc] Update bitcoin-core GitHub links
2018-11-09 23:01:02 +03:00
MarcoFalke
66e2824d28
contrib: Make fix-copyright-headers.py more portable
...
Github-Pull: #8607
Rebased-From: fafe7b3432d5117e3f207eafe2fca1f9637b24f6
2018-11-09 22:56:49 +03:00
isle2983
c0801a4176
[copyright] add MIT license headers to .sh scripts where missing
2018-11-09 22:55:07 +03:00
Wladimir J. van der Laan
100926a654
devtools: Auto-set branch to merge to in github-merge
...
As we are already using the API to retrieve the pull request
title, also retrieve the base branch.
This makes sure that pull requests for 0.12 automatically end up in
0.12, and pull requests for master automatically end up in master,
and so on.
It is still possible to override the branch from the command line
or using the `githubmerge.branch` git option.
2018-11-09 22:51:41 +03:00
Wladimir J. van der Laan
48d9e58483
devtools: make github-merge.py use py3
...
This makes github-merge.py the first developer tool to go
all Python 3 (for context see #7717 ).
The changes are straightforward as the script already was
`from __future__ import division,print_function,unicode_literals`.
However urllib2 changed name, and json will only accept unicode data not
bytes.
This retains py2 compatibility for now: not strictly necessary
as it's not used by the build system - but it was easy.
2018-11-09 22:51:32 +03:00
Wladimir J. van der Laan
f1084d15b1
devtools: Fix utf-8 support in messages for github-merge
...
Use 'utf-8' instead of the Python 2 default of 'ascii' to encode/decode
commit messages.
This can be removed when switching to Python 3, as 'utf-8' is the
default there.
Necessary for merging #7422 due to the ฿ in ฿tcDrak.
2018-11-09 22:51:24 +03:00
Andrew C
f6d3a70fbf
[devtools] github-merge get toplevel dir without extra whitespace
...
Fixes a bug in github merge when it runs the tests where the toplevel directory has an extra '\n' appended to the path string. Now it doesn't.
2018-11-09 22:51:15 +03:00
Wladimir J. van der Laan
7dfa83448d
devtools: show pull and commit information in github-merge
...
Print the number and title of the pull, as well as the commits to be
merged.
2018-11-09 22:51:06 +03:00
Wladimir J. van der Laan
ceeecd99da
devtools: replace github-merge with python version
...
This is meant to be a direct translation of the bash script,
with the difference that it retrieves the PR title from github,
thus creating pull messages like:
Merge #12345 : Expose transaction temperature over RPC
2018-11-09 22:50:54 +03:00
calebogden
8193c2da05
Fixing typos on security-check.py and torcontrol.cpp
2018-11-09 22:47:13 +03:00