Commit graph

1067 commits

Author SHA1 Message Date
gladcow
851f359cf8 fix boost integer 2019-10-02 15:30:06 +03:00
gladcow
c247288633 fix declarations 2019-10-02 14:05:29 +03:00
gladcow
24370e9c9a fix declarations 2019-10-02 14:01:51 +03:00
gladcow
e3d3f84c23 fix for lottery end 2019-10-02 13:55:32 +03:00
Sandip Patel
57286d247c proposal fail_reason bug fixed (#157) 2019-10-02 13:25:09 +03:00
Peter Conrad
212de35f59 Throw for deep nesting 2019-10-02 13:25:09 +03:00
Peter Conrad
41de4033b3 Allow sufficient space for new undo_session 2019-10-02 13:25:09 +03:00
abitmore
f31782a59a No longer extract public keys before pushing a trx
and removed unused new added constructor and _get_signature_keys() function from signed_transaction struct
2019-10-02 13:25:09 +03:00
abitmore
ff55c4a472 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-10-02 13:23:57 +03:00
abitmore
263bb30ff2 Extract public keys before pushing a transaction 2019-10-02 13:23:57 +03:00
abitmore
b4a1b74a1f Skip auth check when pushing self-generated blocks 2019-10-02 13:21:47 +03:00
Miha Čančula
8b3a309b8d Fix compilation in debug mode 2019-10-02 13:18:37 +03:00
Sandip Patel
fbf4e56a95 Added comment 2019-10-02 13:18:37 +03:00
Sandip Patel
d93b8d714c minor performance improvement 2019-10-02 13:18:37 +03:00
Ronak Patel
11e8e1ea2f Fixed test failures and compilation issue 2019-10-02 13:18:37 +03:00
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
Ronak Patel
8439d1fd44 Merged Bitshares PR #1462 and compilation fixes 2019-10-02 13:18:37 +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
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
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
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
Miha Čančula
4d54a81523 Adapt to variant API with max_depth argument 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
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
6dd10519aa Use offsetof instead of custom macro 2019-10-02 12:54:15 +03:00
pbattu123
8aeeed6291 revert master changes that were brought in previous commit 2019-10-02 12:49:51 +03:00
Prabhjot
1536dbb20f Changed hardfork time for SWEEPS and Core-429 2019-10-02 12:48:54 +03:00
PBSA
0cbedd071b 5050 fee update and compilation error fix 2019-10-02 09:53:15 +03:00
Prabhjot
cbb9a11fe1 fix: is_benefactor_reward had the default value of true when not set 2019-10-02 09:47:43 +03:00
Srdjan Obucina
ff2ebd3916 Enable building on Ubuntu 18.04 using GCC 7 compiler 2019-10-02 09:47:43 +03:00
Prabhjot
41f62a6c8f Removed redundant if from asset_evaluator and fixed db_notify 2019-10-02 09:39:57 +03:00
Prabhjot
c3d1c8fd3b Changed sweeps hardfork time 2019-10-02 09:39:57 +03:00
Prabhjot
5c6bd78a98 Added new lottery_asset_create_operation 2019-10-02 09:39:57 +03:00
Prabhjot
a07177d826 fix casting in overloaded function 2019-10-02 09:37:54 +03:00
Prabhjot
f388a7d8e4 fixed asset_object 2019-10-02 09:31:37 +03:00
Prabhjot
ae2b3dc568 removed sweeps_parameter_extensions 2019-10-02 09:31:37 +03:00
Prabhjot
c4817dc8b4 fixed returntype in chain_parameters.hpp 2019-10-02 09:31:37 +03:00
Prabhjot
dbf22af503 added missing comma in operations.hpp, small changes to config.hpp 2019-10-02 09:31:37 +03:00
Prabhjot
59e48a1833 Added sweeps parameters to parameter_extension 2019-10-02 09:29:11 +03:00
Prabhjot
8f43ff91ae added missing , in types.hpp 2019-10-02 09:27:30 +03:00