Commit graph

1017 commits

Author SHA1 Message Date
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
Fabian Schuh
5e352238c4
Dupcheck fix 2019-02-07 16:20:43 +01:00
Fabian Schuh
9946eab684
Make ordered_unique out of ordered_non_unique indices 2019-02-07 15:42:01 +01:00
Fabian Schuh
6f3ddc0719
Merge branch 'hardfork' into feature/duplicate-operation-check-hardfork 2019-02-07 15:34:16 +01:00
Fabian Schuh
80600494d7
Ensure proposals for fee updates with new operations cannot happen before HF 2019-02-07 13:29:06 +01:00
Fabian Schuh
7598d54fa7
Fixes after review 2019-02-07 12:18:15 +01:00
Fabian Schuh
867ac8045c
Remove unecessary loop since _pending_tx are in API's scope's database already 2019-02-07 11:18:44 +01:00
Fabian Schuh
d5beeae570
Set hardfork dates to February 18th 12:00PM GMT 2019-02-04 16:14:31 +01:00
dimfred
ee8429938c moved check_trx_for_duplicate_operation and digest_accumulator to database api 2019-02-01 18:36:30 +01:00
Alfredo
0e3d87eaad refactor calculate_vesting_factor to consider if voted in last periods for coefficient calculation, fix the tests accordingly, change hardfork date 2019-01-31 20:32:19 -03:00
Fabian Schuh
6400957860
Merge remote-tracking branch 'network/develop' into hardfork 2019-01-28 09:47:30 +01:00
Fabian Schuh
74f295ba40
Merge branch 'beatrice' into develop 2019-01-28 09:45:57 +01:00
Alfredo
ec64df7889 refactor calculate_vesting_factor 2019-01-26 11:51:15 -03:00
Alfredo
30c95f6010 remove not needed period calculation 2019-01-24 17:52:24 -03:00
Fabian Schuh
7078b224af Increase default (starting) rake 2019-01-23 16:27:57 +01:00
Alfredo
d602e71601 move gpos global parameters to extensions 2019-01-22 22:40:15 -03:00
Fabian Schuh
af561e7463
TBD, hardfork dates 2019-01-22 15:16:52 +01:00
Fabian Schuh
e9970767f5
Ensure we use the correct genesis block, config and seed nodes 2019-01-22 10:21:39 +01:00
Alfredo
b914a7dc0b add globals to genesis, update hardfork date, fix test case 2019-01-15 14:25:43 -03:00
Alfredo
83ea345042 hf protection for creating gpos balances in proposals 2019-01-03 14:38:31 -03:00
Alfredo
d468b146e8 implement gpos to voting calculations 2018-12-31 19:18:00 -03:00
Alfredo
6b533828db implement rolling_period_start function 2018-12-31 18:20:48 -03:00
Alfredo
602b8530da implement functions for gpos 2018-12-31 18:17:52 -03:00
Alfredo
6d01286140 prepare to pay dividends only to vested gpos balances after hf 2018-12-31 17:48:26 -03:00
Alfredo
3de55137d5 bump the database 2018-12-31 12:04:04 -03:00
Alfredo
46467a7bbe only allow gpos balance creation after HF 2018-12-31 12:01:31 -03:00