Commit graph

2406 commits

Author SHA1 Message Date
Peter Conrad
95a5b57c4f Writing the object_database is now almost atomic 2019-09-02 17:19:21 +03:00
Peter Conrad
b71f20e060 Dont leave _data_dir empty if db is locked 2019-09-02 17:19:21 +03:00
Peter Conrad
c8f8f1a44b Fixed lock detection 2019-09-02 17:19:21 +03:00
Peter Conrad
b45a6ca147 Prevent unsigned integer underflow 2019-09-02 17:19:21 +03:00
Peter Conrad
3bee3f29a2 Log starting block number of replay 2019-09-02 17:19:21 +03: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
Peter Conrad
42680456b6 Improved resilience of block database against corruption 2019-09-02 17:19:21 +03:00
Bobinson K B
cdc89c16ee
Merge pull request #97 from peerplays-network/feature/GRPH-61
Increase block creation timeout to 2500ms
2019-09-02 19:20:07 +05:30
Bobinson K B
e44b04df48
Merge pull request #93 from peerplays-network/GRPH-71
Fix failed app_test
2019-09-02 19:16:11 +05:30
Bobinson K B
07249e90bb
Merge pull request #92 from peerplays-network/GRPH-70
[GRPH-70] remove needless find()
2019-09-02 18:38:42 +05:30
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
Ronak Patel
b751508404 Merged changes from Bitshares PR 1036 2019-09-02 18:23:19 +05:30
Miha Čančula
a797787f02
Merge branch 'develop' into GRPH-59-Proposal-failure-handling 2019-09-02 11:14:48 +02:00
Alfredo Garcia
fcfe65acf8 add cli tests framework 2019-08-30 16:51:24 -03:00
Alfredo Garcia
3362d603cb remove cache from cli get_account 2019-08-30 16:49:54 -03:00
gladcow
c5623fdabb increase delay for node connection 2019-08-30 15:54:00 +03:00
Bobinson K B
3b36d4686b
Merge pull request #96 from peerplays-network/feature/GRPH-77
Fix building error for develop branch + test fix
2019-08-30 18:02:38 +05:30
Srdjan Obucina
11cf55c5d2 Increase block creation timeout to 2500ms 2019-08-30 13:57:57 +02:00
Srdjan Obucina
2ceb77f796 Fix building error for develop branch + test fix from PR 65 2019-08-30 12:06:41 +02:00
Srdjan Obucina
94ec9a67b4 Merge branch 'develop' of https://github.com/peerplays-network/peerplays into develop 2019-08-29 18:33:01 +02:00
John Jones
8f4483dfea remove needless find() 2019-08-29 07:39:20 +03:00
Peter Conrad
8b5182e53e Created unit test for #325 2019-08-28 22:36:36 +03:00
Srdjan Obucina
1a6ba1ac1e Merge branch 'qa_gpos_18.04_gcc7_fix' into develop 2019-08-28 17:05:24 +02:00
satyakoneru
1d5372d432
Merge pull request #86 from peerplays-network/GRPH-53
GRPH-53-Log_format_error
2019-08-29 00:06:02 +10:00
gladcow
15314faa9f fix copyright message 2019-08-28 17:00:35 +03:00
satyakoneru
f6423d0b10 GRPH-4-CliWallet_crash_ctrlD 2019-08-28 13:53:41 +00:00
Miha Čančula
fd35f34ed0
Make all the tests compile 2019-08-28 15:37:52 +02:00
John M. Jones
b4bf247c21
Merge pull request #1036 from jmjatlanta/issue_730
Add fail_reason to proposal_object
2019-08-28 14:56:24 +02:00
Miha Čančula
dc8b6e8ce1
Hide some compiler warnings 2019-08-28 14:55:15 +02:00
Miha Čančula
15290b8996
Use offsetof instead of custom macro 2019-08-28 14:55:15 +02:00
pbattu123
6aae360f00
missing files from dev branch 2019-08-28 14:51:15 +02:00
pbattu123
d61c065fa0
Unit test case fixes and prepared SONs base 2019-08-28 14:51:14 +02:00
gladcow
5d38466f7d Backport fix for get_account_history from https://github.com/bitshares/bitshares-core/pull/628 and add additional account history test case 2019-08-28 15:49:33 +03:00
gladcow
bc05c320d3 remove double empty lines 2019-08-28 15:49:33 +03:00
gladcow
86b7a9a007 fix copyrigth messages order 2019-08-28 15:49:33 +03:00
gladcow
fd8a007e5e test for zero id object in account history 2019-08-28 15:49:33 +03:00
Peter Conrad
14b0d08d5a Fixed error when account_history_object with id 0 doesnt exist 2019-08-28 15:49:33 +03:00
satyakoneru
aeae7b254a GRPH-53-Log_format_error 2019-08-28 12:01:04 +00:00
Ronak Patel
6dddfd5d88 Fix for irrelevant signature included issue 2019-08-28 17:27:38 +05:30
Sandip Patel
0d0a6b7c74 Fixed error while loading object database 2019-08-28 12:11:43 +05:30
Srdjan Obucina
0b134f2279 NTP client back 2019-08-27 20:35:42 +02:00
Bobinson K B
e80e9dd401
Merge pull request #82 from bobinson/develop
updating develop as part of  new branching strategy
2019-08-27 20:02:33 +05:30
Bobinson Bobby
5d61ba2925 Merge branch 'beatrice' into develop 2019-08-27 05:39:54 +05:30
Srdjan Obucina
194b0dbbc9 Reorder operations in Dockerfile, to make image creation faster
- Reorder prevents unnecessary building of Boost libraries
2019-08-22 16:56:00 +02:00
pbattu123
2486eddb5d revert master changes that were brought in previous commit 2019-08-22 09:54:52 -03:00
pbattu123
481fac17d5
Merge branch 'master' into beatrice 2019-08-22 09:15:27 -03:00
Prabhjot
30c336ecfb Changed hardfork time for SWEEPS and Core-429 2019-08-22 09:08:12 -03:00
obucinac
6595acb3f3
Merge pull request #74 from peerplays-network/qa_gpos_18.04_docker_img
Docker for Ubuntu 18.04
2019-08-22 12:46:45 +02:00
pbattu123
e7badc138b
Merge pull request #62 from peerplays-network/qa_gpos_18.04_docker_img
Docker image for Ubuntu 18.04 and GCC 7
2019-08-21 16:42:35 -03:00