pbattu123
b68e6ce854
Fix unit test failures ( #289 )
...
* fixed unit test failures from the recent merges
* fixed unit test failures from the recent merges
2020-02-20 23:38:38 +05:30
abitmore
2dfb67e16e
Updated transaction::signees to mutable
...
and
* updated get_signature_keys() to return a const reference,
* get_signature_keys() will update signees on first call,
* modified test cases and wallet.cpp accordingly,
* no longer construct a new signed_transaction object before pushing
2019-09-20 14:10:24 +03:00
Alfredo Garcia
bada09d7d0
Merge branch 'develop' into GRPH-75
2019-09-17 21:10:20 -03:00
Alfredo Garcia
d911b3db69
Merge branch 'develop' into GRPH-75
2019-09-17 15:53:18 -03:00
Miha Čančula
4b5076b2e9
Merge branch 'develop' into GRPH-73-fix-block-id-forks
2019-09-16 18:51:53 +02:00
Abit
f732048a6e
Merge pull request #938 from bitshares/fix-block-storing
...
Store correct block ID when switching forks
2019-09-04 10:54:53 +02:00
Peter Conrad
a0052d4bd3
Enable undo + fork database for final blocks in a replay
...
Dont remove blocks from block db when popping blocks, handle edge case in replay wrt fork_db, adapted unit tests
2019-09-02 17:19:21 +03:00
Peter Conrad
17417037c6
Moved reindex logic into database / chain_database, make use of additional blocks in block_database
...
Fixed tests wrt db.open
2019-09-02 17:19:21 +03:00
Srdjan Obucina
77dd8a9359
GRPH-76 - Short-cut long sequences of missed blocks
...
Fixes database::update_global_dynamic_data to speed up counting missed blocks.
(This also fixes a minor issue with counting - the previous algorithm would skip missed blocks for the witness who signed the first block after the gap.)
2019-09-02 15:03:00 +02:00
Alfredo
399a77841a
comment transaction_invalidated_in_cache testcase
2018-12-19 10:26:51 -03:00
Alfredo
cc46d790de
fix block interval test
2018-12-18 16:04:35 -03:00
Alfredo
2bf061520c
change TEST to TESTB
2018-12-18 15:48:31 -03:00
Roman Olearski
054423dce0
added new betting test - try_create_sport_and_try_again
2017-07-17 18:59:01 +02:00
Roman Olearski
fb22da620d
minor cosmetic changes ...
2017-07-14 13:31:04 +02:00
Roman Olearski
90ec694446
integrating scheduled (old) and shuffled (current) witnesses
2017-04-19 20:31:00 +02:00
theoreticalbts
07fb90a7ec
market_object.hpp: Move market objects into own header #466
2016-01-08 11:36:32 -05:00
Fabian Schuh
5111084730
[License] Modify cpp and hpp headers to MIT #496
2016-01-07 11:44:52 -05:00
theoreticalbts
28eddf1b6f
block_tests.cpp: Fix generate_empty_blocks not working correctly when last_irreversible_block_num skipped over 200
...
Revealed by #427 , related to #407
2015-10-31 15:46:18 -04:00
theoreticalbts
d1d06213e1
block_tests.cpp: Fix generate_empty_blocks
2015-10-29 19:23:23 -04:00
theoreticalbts
d0609e8e74
Update copyright notice for BitShares
2015-10-12 13:48:40 -04:00
theoreticalbts
60f0812de2
Update copyright notice
2015-10-12 13:32:47 -04:00
Eric Frias
74bbde785b
In the p2p networking code, request multiple transactions at a time to improve performance during flooding
2015-09-29 17:37:32 -04:00
theoreticalbts
cb983ced0a
block_tests.cpp: Remove logspam, fix compiler warnings
2015-09-22 13:28:53 -04:00
theoreticalbts
53e86fded2
block_tests.cpp: Update transaction_invalidated_in_cache test
2015-09-22 13:27:59 -04:00
Daniel Larimer
966df708a5
fix unit tests
2015-09-18 13:56:32 -04:00
Daniel Larimer
0c1ea181fe
commenting out bogus test
2015-09-18 13:48:52 -04:00
Daniel Larimer
26007bb655
update shuffling algorithm
2015-09-18 13:42:12 -04:00
theoreticalbts
b5db094b3b
Fix broken unit tests
2015-09-17 12:11:40 -04:00
theoreticalbts
1451f67636
block_tests.cpp: Implement miss_many_blocks test #313
2015-09-16 11:10:57 -04:00
theoreticalbts
422f5762d3
Create unit test for genesis ID reservation #281
2015-09-16 10:18:23 -04:00
Eric Frias
8e9bd890a8
Fix bugs, improve logging in p2p sync
2015-09-10 19:33:11 -04:00
theoreticalbts
15ec55e52d
block_tests.cpp: Fix transaction_invalidated_in_cache test, including transaction expiration
2015-09-09 11:03:16 -04:00
theoreticalbts
7317465633
block_tests.cpp: Fix #300 by generating more blocks in generate_empty_blocks()
2015-09-08 16:40:52 -04:00
theoreticalbts
6c73046281
block_tests.cpp: Implement transaction_expires_in_cache test #264 #299
2015-09-08 16:09:48 -04:00
Daniel Larimer
96a20bbd35
adding extra test of fork db
2015-09-02 09:03:04 -04:00
theoreticalbts
6c052294e1
Remove block randomness and rewrite witness scheduling
2015-08-26 15:36:27 -04:00
theoreticalbts
dcc4f8076b
database.hpp: Simplify get_scheduled_witness() return value
2015-08-26 15:36:26 -04:00
Nathan Hourt
eeeab17477
Polish out-of-order-block handling, write test case
2015-08-19 13:07:13 -04:00
theoreticalbts
e6116c466f
Move account_create_fee_scaling test from fee_tests to block_tests
2015-08-13 14:29:51 -04:00
Nathan Hourt
a4e5a03973
Resolve #161 : Fix account creation fee scaling
2015-08-10 16:39:09 -04:00
theoreticalbts
0295f10387
block_tests.cpp: Implement optional_tapos test to ensure backend doesn't force TaPoS
2015-08-06 13:08:53 -04:00
theoreticalbts
2e9876b557
Implement chain-locked transactions
2015-08-06 12:56:37 -04:00
theoreticalbts
36e155bc0c
Implement tx_duplicate_sig exception, fix committee_authority test
2015-07-28 17:10:52 -04:00
theoreticalbts
54103da9a8
Implement tx_irrelevant_sig exception, fix assert_op_test
2015-07-28 17:10:52 -04:00
theoreticalbts
6bebdbad1c
Make unit tests query get_slot_time() instead of doing own time computations
...
Fixed unit tests: witness_apy_test, generate_empty_blocks, undo_block,
fork_blocks, undo_pending, switch_forks_undo_create, duplicate_transactions,
tapos, change_block_interval
2015-07-28 11:58:22 -04:00
theoreticalbts
86456ba6e0
tests: Set expirations with helper function instead of ad hoc in each test
2015-07-23 17:01:39 -04:00
theoreticalbts
d827c5df28
block_tests.cpp: Remove redundant, unimplemented force_settlement test
2015-07-21 16:07:14 -04:00
theoreticalbts
a4496eccb8
Fix #162 by adding an active authority to tests that use account_create_op directly
2015-07-15 17:22:47 -04:00
Daniel Larimer
cfa95a3f57
Issue #157 - make trx expiration absolute
...
This is done to comply with the policy that transactions should be self
describing and not depend upon implied state. This makes things easier
for everyone to understand exactly when a transaction will be invalid
without having to refer to chain state.
2015-07-14 18:46:58 -04:00
theoreticalbts
6fd566e6f7
block_tests.cpp: Test witness participation rate
2015-07-13 17:02:00 -04:00