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
Prabhjot
dd3d337f8e
Updated gitmodules, changes to allow voting on lottery fee
2019-10-02 09:24:30 +03:00
Prabhjot Singh
26786d33a9
Merged beatrice into 5050
2019-10-02 09:22:33 +03:00
pbattu123
75f16752d2
virtual-op-fix for deterministic virtual_op number
2019-10-01 22:57:58 +03:00
pbattu123
22952a9a18
Revert "GPOS protocol"
2019-10-01 22:57:58 +03:00
pbattu123
fa5ecd0d29
update db_version for replay and removed duplicate include files
2019-10-01 22:40:50 +03:00
kstdl
dd26890a1d
fixed indices sorting and lottery end checking by date
2019-10-01 22:34:26 +03:00
kstdl
1baa751ba3
fix test genesis and end_date verification
2019-10-01 22:34:26 +03:00
kstdl
830700aa35
merge get_account_lotteries branch. fix create_witness test
2019-10-01 22:34:26 +03:00
kstdl
62dd8482d9
added get_account_lotteries method to db_api and cli, lottery end_date and ticket_price verification
2019-10-01 22:34:26 +03:00
kstdl
51b2ca625e
added owner to lottery_asset_options. commented async call in on_applied_block callback
2019-10-01 22:34:26 +03:00
kstdl
ee9545a2c4
fix reindex on peerplays network
2019-10-01 22:26:04 +03:00
kstdl
7ba965c860
minor logic changes. added db_api and cli_wallet methods
2019-10-01 19:13:27 +03:00
kstdl
0ba8f95f49
lottery end implemented
2019-10-01 18:39:14 +03:00
kstdl
17e6a9baf9
ticket_purchase_operation implemented. added lottery_options to asset
2019-10-01 16:52:23 +03:00
kstdl
b953ac9e88
coipied code for bitshares fixing 429 and 433 isuues
2019-10-01 14:45:21 +03:00
kstdl
d2bd8ad066
fix rng and get_winner_numbers implemented
2019-10-01 14:24:57 +03:00
satyakoneru
b853a82275
SON11 - Add chain extension parameter to set SON count
2019-09-18 02:50:59 +00:00
S
8f317e93d6
Fix building on Ubuntu 18.04 with GCC 7
2019-09-11 15:37:44 +02:00
Alfredo
891137cf57
merge PR 2
2019-05-30 00:04:53 -03:00
pbattu123
2c86caacc5
Merge pull request #8 from oxarbitrage/gpos2
...
GPOS protocol
2019-05-29 18:09:48 -03:00
pbattu
0f06a9af2a
Required changes to upgrade blockchain to ubuntu18.04
2019-05-20 22:32:17 -03:00
Roshan Syed
b787f3f21b
Revert "Merge branch 'master' into beatrice"
...
This reverts commit cc8766d319 , reversing
changes made to fd71c4b682 .
2019-04-12 12:53:09 -03:00
pbattu123
cc8766d319
Merge branch 'master' into beatrice
2019-04-12 10:12:58 -03:00
Eric Frias
1052f49f5d
Make indexes on blockchain objects related to betting markets into
...
unique indexes to ensure the order betting market groups are resolved
is consistent between different nodes. This bumps the database version
which will trigger a replay on the first run after this upgrade.
2019-03-29 16:20:45 -04:00
Alfredo
a58eb6fae8
add get_gpos_info database api call
2019-03-05 17:48:47 -03:00