Commit graph

2344 commits

Author SHA1 Message Date
John Jones
485fe97ee2 prevent segfault when destructing application obj 2019-10-02 13:18:37 +03:00
cifer
225ab3f7f1 supplement more comments on database::_opened variable 2019-10-02 13:18:37 +03:00
cifer
20116e0a94 Fix #436 object_database created outside of witness data directory 2019-10-02 13:18:37 +03:00
Miha Čančula
686a1109e1 Fix undefined references in cli test 2019-10-02 13:18:37 +03:00
Roshan Syed
5b2f6f669a Support/gitlab (#123)
* Updated gitlab process
2019-10-02 13:18:37 +03:00
Ronak Patel
8439d1fd44 Merged Bitshares PR #1462 and compilation fixes 2019-10-02 13:18:37 +03:00
Miha Čančula
bfc78e236b Update the FC submodule with the changes for GRPH-4 2019-10-02 13:10:00 +03:00
Ronak Patel
dab396e1e4 Fix for for history ID mismatch ( Bitshares PR #875 ) 2019-10-02 13:08:39 +03:00
Ronak Patel
99699d8a4d Fixed integer overflow issue 2019-10-02 13:08:39 +03:00
Abit
6943a0bfbd Merge pull request #938 from bitshares/fix-block-storing
Store correct block ID when switching forks
2019-10-02 13:08:39 +03:00
Alfredo Garcia
d1a40584c6 change bitshares to core in message 2019-10-02 13:08:39 +03:00
Srdjan Obucina
c8a7d5da4f Add missing change 2019-10-02 13:08:39 +03:00
gladcow
96d2e2e8ec exclude second undo_db.enable() call in some cases 2019-10-02 13:08:39 +03:00
Peter Conrad
903f82b3c9 Added test case for broken merge on empty undo_db 2019-10-02 13:08:39 +03:00
Peter Conrad
e905534ea6 Fixed undo_database 2019-10-02 13:05:51 +03:00
Peter Conrad
631849e7cc Cut back block_log index file if inconsistent 2019-10-02 13:05:51 +03:00
Peter Conrad
661cf65ed4 Improved consistency check for block_log 2019-10-02 13:05:51 +03:00
Peter Conrad
cefe6e5156 Writing the object_database is now almost atomic 2019-10-02 13:05:51 +03:00
Peter Conrad
816bb60925 Dont leave _data_dir empty if db is locked 2019-10-02 13:05:51 +03:00
Peter Conrad
c8e95f831d Fixed lock detection 2019-10-02 13:05:51 +03:00
Peter Conrad
1654ce5436 Prevent unsigned integer underflow 2019-10-02 13:05:51 +03:00
Peter Conrad
969c8c9958 Log starting block number of replay 2019-10-02 13:05:51 +03:00
Peter Conrad
d75d003a63 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-10-02 13:05:51 +03:00
Peter Conrad
cefd1de512 Moved reindex logic into database / chain_database, make use of additional blocks in block_database
Fixed tests wrt db.open
2019-10-02 13:05:51 +03:00
Peter Conrad
9605e91531 Improved resilience of block database against corruption 2019-10-02 13:05:50 +03:00
Srdjan Obucina
2029e98a13 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-10-02 13:05:50 +03:00
Ronak Patel
bef59435e4 Merged changes from Bitshares PR 1036 2019-10-02 13:05:50 +03:00
Miha Čančula
b05cce3b35 Adjust newly merged code to new API 2019-10-02 13:03:39 +03:00
Alfredo Garcia
2856ebed8d add cli tests framework 2019-10-02 13:01:28 +03:00
Alfredo Garcia
f0a6638970 remove cache from cli get_account 2019-10-02 13:01:28 +03:00
gladcow
0d28d84603 increase delay for node connection 2019-10-02 13:01:28 +03:00
Srdjan Obucina
e01e66f774 Increase block creation timeout to 2500ms 2019-10-02 13:01:28 +03:00
John Jones
075710ddc5 remove needless find() 2019-10-02 13:01:28 +03:00
Peter Conrad
df1b199a4b Created unit test for #325 2019-10-02 13:01:28 +03:00
Miha Čančula
0dd15cacc3 Make all the tests compile 2019-10-02 13:01:28 +03:00
gladcow
ea1a6a9802 fix copyright message 2019-10-02 13:01:28 +03:00
satyakoneru
0cf5718b39 GRPH-4-CliWallet_crash_ctrlD 2019-10-02 13:01:28 +03:00
Miha Čančula
2efb3ed290 Update fc submodule 2019-10-02 12:57:12 +03:00
Miha Čančula
4d54a81523 Adapt to variant API with max_depth argument 2019-10-02 12:57:12 +03:00
abitmore
889a03116c Increase max depth for trx confirmation callback 2019-10-02 12:57:12 +03:00
Abit
168ff49da1 Merge pull request #714 from pmconrad/json_fix
JSON fix
2019-10-02 12:57:12 +03:00
abitmore
68be112c30 Add test case for broadcast_trx_with_callback API 2019-10-02 12:55:27 +03:00
abitmore
a3bf36a1ed Add nullptr check in api.cpp for easier testing 2019-10-02 12:55:27 +03:00
pbattu123
464147909a Unit test case fixes and prepared SONs base 2019-10-02 12:55:27 +03:00
Miha Čančula
3ffb6db487 Make all the tests compile 2019-10-02 12:54:15 +03:00
John M. Jones
d74a71b4ca Merge pull request #1036 from jmjatlanta/issue_730
Add fail_reason to proposal_object
2019-10-02 12:54:15 +03:00
Miha Čančula
70443249f8 Hide some compiler warnings 2019-10-02 12:54:15 +03:00
Miha Čančula
6dd10519aa Use offsetof instead of custom macro 2019-10-02 12:54:15 +03:00
pbattu123
0c1acc8aa1 Unit test case fixes and prepared SONs base 2019-10-02 12:54:15 +03:00
gladcow
f35f1264bf Backport fix for get_account_history from https://github.com/bitshares/bitshares-core/pull/628 and add additional account history test case 2019-10-02 12:52:26 +03:00