Job Evers‐Meltzer
b89ff5f456
Merge pull request #34 from kaykurokawa/check_dust
...
Re-enable dust threshold checks
2016-10-18 11:27:20 -05:00
kkurokawa
1b80858a44
adding test to check the POW algorithm
2016-08-10 21:04:04 -04:00
kkurokawa
e0089d19f2
adding test for block with bogus claim trie hash
2016-08-10 16:45:36 -04:00
kkurokawa
50c2ed0fee
lowering dust threshold to 1 , in order to not break lbrynet
2016-08-08 20:49:40 -04:00
kkurokawa
b51444fd5c
Re-enable dust threshold checks
2016-08-07 18:58:14 -04:00
Jeremy Kauffman
d0214d14c5
Merge pull request #14 from jimmykiselak/bogus_claimid_tests
...
Bogus claimid tests
2016-07-27 18:35:31 -04:00
kkurokawa
ad7304e321
Limits name length of claimtrie transactions to 255 bytes
2016-07-21 14:58:49 -04:00
Jimmy Kiselak
b6e686538f
add tests that verify updates with bogus claimids never make it into the trie
2016-07-11 00:07:04 -04:00
kkurokawa
88c28a7fd6
Updating chainparams, adding checkpoint at block 4000 to mainnet, fixing broken tests
2016-07-01 15:06:28 -04:00
Jack
4d4e693788
merge realnewpow2
2016-06-22 10:04:22 -04:00
kkurokawa
131006b10d
Switching to digishield difficulty retargeting algorithm
...
merge from kaykurokawa/lbrycrd
2016-06-20 17:34:02 -04:00
Jimmy Kiselak
c09b81d37e
new PoW hash function
2016-06-17 22:44:51 -04:00
Jimmy Kiselak
864533c699
use PoW hash in test_bitcoin, use pound defs for generating genesis block
2016-06-17 22:34:48 -04:00
Jimmy Kiselak
e08d765f11
Merge branch 'master' of https://github.com/bitcoin/bitcoin into realusmerge
...
Conflicts:
Makefile.am
README.md
configure.ac
contrib/seeds/nodes_main.txt
qa/rpc-tests/decodescript.py
qa/rpc-tests/test_framework/util.py
src/Makefile.am
src/Makefile.qt.include
src/Makefile.qttest.include
src/Makefile.test.include
src/bitcoin-cli-res.rc
src/bitcoin-cli.cpp
src/bitcoin-tx.cpp
src/bitcoind.cpp
src/chainparams.cpp
src/chainparamsseeds.h
src/init.cpp
src/main.cpp
src/main.h
src/miner.cpp
src/net.cpp
src/primitives/block.cpp
src/rpc/mining.cpp
src/rpc/rawtransaction.cpp
src/rpc/server.cpp
src/rpcserver.h
src/script/interpreter.cpp
src/script/script.cpp
src/script/script.h
src/test/alert_tests.cpp
src/test/data/alertTests.raw
src/test/data/script_invalid.json
src/test/data/script_valid.json
src/test/data/tx_invalid.json
src/test/data/tx_valid.json
src/test/miner_tests.cpp
src/test/script_tests.cpp
src/test/test_bitcoin.cpp
src/test/test_bitcoin.h
src/test/transaction_tests.cpp
src/timedata.cpp
src/util.cpp
src/wallet/rpcwallet.cpp
src/wallet/wallet.cpp
src/wallet/wallet.h
2016-05-15 22:16:56 -04:00
Jimmy Kiselak
a78dfae04f
get tests passing for new block rewards, change initial reward to 400M
2016-04-16 18:42:11 -04:00
Kaz Wesley
4ed41a2b61
test prevector::swap
...
- add a swap operation to prevector tests (fails due to broken prevector::swap)
- fix 2 prevector test operation conditions that were impossible
2016-04-16 08:05:11 -07:00
Jimmy Kiselak
f2ebd4bcd4
fix address prefix tests and change difficulty readjustment interval
2016-04-16 02:16:32 -04:00
Wladimir J. van der Laan
9e47fcec17
Merge #7756 : Add cursor to iterate over utxo set, use this in gettxoutsetinfo
...
509cb00
txdb: Add Cursor() method to CCoinsView to iterate over UTXO set (Wladimir J. van der Laan)
2016-04-15 16:43:21 +02:00
Wladimir J. van der Laan
509cb006d5
txdb: Add Cursor() method to CCoinsView to iterate over UTXO set
...
Add a method Cursor() to CCoinsView that returns a cursor which can be
used to iterate over the whole UTXO set.
- rpc: Change gettxoutsetinfo to use new Cursor method
- txdb: Remove GetStats method - Now that GetStats is implemented in
terms of Cursor, remove it.
2016-04-15 16:33:05 +02:00
Wladimir J. van der Laan
48c5adfbce
Merge #6215 : add bip32 pub key serialization
...
90604f1
add bip32 pubkey serialization (Jonas Schnelli)
2016-04-15 07:59:38 +02:00
Jonas Schnelli
90604f16af
add bip32 pubkey serialization
...
CExtPubKey should be serializable like CPubKey
2016-04-14 20:56:33 +02:00
MarcoFalke
fa7abe0a00
[test] bctest.py: Revert faa41ee
2016-04-14 19:39:53 +02:00
Wladimir J. van der Laan
6ef5e000a2
Merge #7853 : [qa] py2: Unfiddle strings into bytes explicitly
...
faa41ee
[qa] py2: Unfiddle strings into bytes explicitly (MarcoFalke)
2016-04-14 17:40:31 +02:00
Wladimir J. van der Laan
ab8586e667
Merge #7849 : tests: add varints_bitpatterns test
...
4521f00
tests: add varints_bitpatterns test (Wladimir J. van der Laan)
2016-04-14 14:46:13 +02:00
Wladimir J. van der Laan
3911a0a1b7
Merge #7818 : Refactor script tests
...
dde46d3
Merge script_valid and script_invalid tests (Pieter Wuille)
009b503
Get rid of expect in script_tests as it's implied by scripterror (Pieter Wuille)
76da761
Make script_error a mandatory 4th field for script_tests (Pieter Wuille)
269281b
Fix some misconstructed tests (Pieter Wuille)
d03e466
Fix formatting of NOPs for generated script tests (Pieter Wuille)
c7c6641
Fix JSON pretty printing in script_tests (Pieter Wuille)
2016-04-14 13:27:41 +02:00
Wladimir J. van der Laan
536b75e946
Merge #7796 : [amount] Add support for negative fee rates
...
facf5a4
[amount] tests: Fix off-by-one mistake (MarcoFalke)
fa2da2c
[amount] Add support for negative fee rates (MarcoFalke)
11114a6
[amount] test negative fee rates and full constructor (MarcoFalke)
2016-04-14 12:07:52 +02:00
Jimmy Kiselak
c775a2f8b4
bump up limit on maximum script element size
2016-04-11 22:31:26 -04:00
Jimmy Kiselak
60ddd1b89b
limit claim script sizes to 2^13 bytes
2016-04-11 20:48:16 -04:00
MarcoFalke
faa41ee204
[qa] py2: Unfiddle strings into bytes explicitly
2016-04-10 20:35:57 +02:00
MarcoFalke
facf5a4947
[amount] tests: Fix off-by-one mistake
2016-04-09 15:28:22 +02:00
Wladimir J. van der Laan
4521f005a1
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.
2016-04-09 09:17:51 +02:00
MarcoFalke
11114a69c8
[amount] test negative fee rates and full constructor
2016-04-08 19:59:44 +02:00
Pieter Wuille
dde46d3ae1
Merge script_valid and script_invalid tests
2016-04-05 16:11:47 +02:00
Pieter Wuille
009b503792
Get rid of expect in script_tests as it's implied by scripterror
2016-04-05 15:50:17 +02:00
Pieter Wuille
76da761351
Make script_error a mandatory 4th field for script_tests
2016-04-05 15:46:16 +02:00
Pieter Wuille
269281b7cc
Fix some misconstructed tests
...
They claimed to be testing P2SH scripts with non-push scriptSigs, but
1) they were not enabling P2SH
2) they have push-only scriptSigs
Fix this, and add a few more related cases.
2016-04-05 14:54:37 +02:00
Pieter Wuille
c7c664191f
Fix JSON pretty printing in script_tests
2016-04-05 14:54:33 +02:00
mruddy
60361ca481
RPC: fix generatetoaddress failing to parse address and add unit test
2016-04-03 14:30:00 +00:00
Wladimir J. van der Laan
30c2dd8d05
Merge #7691 : [Wallet] refactor wallet/init interaction
...
25340b7
[Wallet] refactor wallet/init interaction (Jonas Schnelli)
2016-04-02 11:07:39 +02:00
Jimmy Kiselak
df370a367f
switch to dedicated PoW hash function for CheckProofOfWork
2016-04-01 21:37:44 -04:00
Wladimir J. van der Laan
fb8a8cf2e6
rpc: Register calls where they are defined
...
Split out methods to every module, apart from 'help' and 'stop' which
are implemented in rpcserver.cpp itself.
- This makes it easier to add or remove RPC commands - no longer everything that includes
rpcserver.h has to be rebuilt when there's a change there.
- Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions.
- Removes most of the bitcoin-specific code from rpcserver.cpp and .h.
Continues #7307 for the non-wallet.
2016-03-31 10:48:32 +02:00
Jimmy Kiselak
dfa15c9df1
change Bitcoin to LBRYcrd in some messages, and reduce the initial reward to 350,000,000 LBC
2016-03-29 21:40:58 -04:00
Wladimir J. van der Laan
5131005e5b
Merge #7723 : build: python 3 compatibility
...
18f05c7
build: python 3 compatibility (Wladimir J. van der Laan)
2016-03-29 17:22:46 +02:00
Wladimir J. van der Laan
18f05c765c
build: python 3 compatibility
...
Ubuntu 16.04 "xenial xerus" does not come with Python 2.x by default.
It is possible to install a python-2.7 package, but this has its own
problem: no `python` or `python2` symlink (see #7717 ).
This fixes the following scripts to work with python 3:
- `make check` (bctest,py, bitcoin-util-test.py)
- `make translate` (extract_strings_qt.py)
- `make symbols-check` (symbol-check.py)
- `make security-check` (security-check.py)
Explicitly call the python commands using $(PYTHON) instead
of relying on the interpreter line at the top of the scripts.
2016-03-29 17:20:16 +02:00
instagibbs
7eb702954e
Add importprunedfunds rpc call
2016-03-23 10:40:38 -04:00
Jonas Schnelli
25340b7cd5
[Wallet] refactor wallet/init interaction
2016-03-22 08:20:59 +01:00
Alex Morcos
9e072a6e66
Implement "feefilter" P2P message.
...
The "feefilter" p2p message is used to inform other nodes of your mempool min fee which is the feerate that any new transaction must meet to be accepted to your mempool. This will allow them to filter invs to you according to this feerate.
2016-03-21 10:46:25 -04:00
Wladimir J. van der Laan
29b2be6ad7
Merge #7692 : Remove p2p alert system
...
cfd519e
Add release note documentation (BtcDrak)
6601ce5
protocol.h/cpp: Removes NetMsgType::ALERT (Thomas Kerin)
ad72104
Formatting (BtcDrak)
1b77471
Remove alert keys (BtcDrak)
01fdfef
Remove `-alerts` option (BtcDrak)
9206634
Update alert notification and GUI (BtcDrak)
bbb9d1d
Remove p2p alert handling (BtcDrak)
2016-03-21 13:41:05 +01:00
Wladimir J. van der Laan
ddfd79659e
Merge #7705 : [amount] Add tests and make GetFee() monotonic
...
fad13b1
[amount] Preempt issues with negative fee rates (MarcoFalke)
faf756a
[amount] Make GetFee() monotonic (MarcoFalke)
fab6880
[qa] Add amount tests (MarcoFalke)
2016-03-21 12:40:31 +01:00
BtcDrak
ad7210408c
Formatting
2016-03-18 19:55:16 +00:00