Sandip Patel
e995744716
proposal fail_reason bug fixed ( #157 )
2019-09-30 18:21:05 -04:00
Bobinson K B
e377478c34
Merge pull request #139 from peerplays-network/feature/GRPH-94
...
Improve block generation performance
2019-09-24 13:51:46 -04:00
Bobinson K B
282ec7061b
Merge pull request #147 from peerplays-network/feature/GRPH-95
...
Enhancement for session undo storage
2019-09-23 12:23:44 -04:00
Bobinson K B
1cb494e686
Merge pull request #140 from peerplays-network/feature/GRPH-111
...
Added get_asset_count API
2019-09-23 09:55:27 -04:00
Peter Conrad
819e1d25b2
Throw for deep nesting
2019-09-23 15:38:01 +03:00
Peter Conrad
8544896e6c
Allow sufficient space for new undo_session
2019-09-23 15:38:01 +03:00
Miha Čančula
4586cc5df5
Remove leftover comment from merge
2019-09-21 17:37:43 +02:00
Miha Čančula
97f9875918
Merge branch 'develop' into GRPH-50-network_broadcast_api-fix-v2
2019-09-21 17:17:19 +02:00
abitmore
106824c62a
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-09-20 16:27:26 +03:00
Sandip Patel
aa31de5d44
Added get_asset_count API
2019-09-20 17:51:43 +05:30
abitmore
2dfb67e16e
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-09-20 14:10:24 +03:00
abitmore
c110508766
Dereference chain_database shared_ptr
2019-09-20 13:46:34 +03:00
abitmore
56a6f8b732
Extract public keys before pushing a transaction
2019-09-20 13:44:15 +03:00
abitmore
12105ab6e5
Skip auth check when pushing self-generated blocks
2019-09-20 13:37:23 +03:00
Bobinson K B
fba10888cc
Merge pull request #131 from peerplays-network/feature/GRPH-93-v2
...
index type addition for performance improvement, version 2
2019-09-20 06:36:30 -04:00
Miha Čančula
94157497bb
Merge branch 'develop' into feature/GRPH-93-v2
2019-09-18 18:19:17 +02:00
Miha Čančula
7bc47a6bc8
Update to fixed version of fc
2019-09-18 17:20:06 +02:00
Miha Čančula
499a5fc33e
Merge branch 'develop' into GRPH-50-network_broadcast_api-fix-v2
2019-09-18 16:36:42 +02:00
Sandip Patel
dfba08536b
Fixed duplicate ops returned from get_account_history
2019-09-18 10:16:16 +05:30
satyakoneru
b853a82275
SON11 - Add chain extension parameter to set SON count
2019-09-18 02:50:59 +00:00
Alfredo Garcia
bada09d7d0
Merge branch 'develop' into GRPH-75
2019-09-17 21:10:20 -03:00
Alfredo Garcia
88d90c327b
Merge branch 'develop' into feature/GRPH-79
2019-09-17 20:19:37 -03:00
Alfredo Garcia
589005515b
Merge branch 'develop' into GRPH-73-fix-block-id-forks
2019-09-17 19:32:20 -03:00
Alfredo Garcia
4914e74770
Merge branch 'develop' into feature/GRPH-79
2019-09-17 17:38:37 -03:00
Alfredo Garcia
d911b3db69
Merge branch 'develop' into GRPH-75
2019-09-17 15:53:18 -03:00
Alfredo Garcia
1f4de92d62
Merge branch 'develop' into feature/GRPH-88
2019-09-17 15:01:36 -03:00
Miha Čančula
6850be492d
Fix compilation in debug mode
2019-09-17 18:42:03 +02:00
Miha Čančula
2dc79e8674
Merge branch 'develop' into feature/GRPH-93
2019-09-17 15:26:33 +02:00
Sandip Patel
5ce9f8c8de
Added comment
2019-09-17 13:28:22 +05:30
Sandip Patel
cde18342da
minor performance improvement
2019-09-17 13:28:22 +05:30
Miha Čančula
4b5076b2e9
Merge branch 'develop' into GRPH-73-fix-block-id-forks
2019-09-16 18:51:53 +02:00
Miha Čančula
67362be337
Merge branch 'develop' into feature/GRPH-93
2019-09-16 10:15:40 +02:00
obucinac
f8da5415e3
Part two of SON-83 - plugins option in command line and config file ( #126 )
...
- Empty SON plugin is INACTIVE by default
- To enable it, add peerplays_sidechain to plugins section in
config file, or use --plugins command line option
- Plugin can work with or without witness
2019-09-13 17:34:34 +02:00
Alfredo Garcia
755383c121
Merge branch 'develop' into feature/GRPH-88
2019-09-12 16:07:36 -03:00
Ronak Patel
9fc07f191f
Fixed test failures and compilation issue
2019-09-12 19:13:36 +05:30
John Jones
b3c64c83b2
prevent segfault when destructing application obj
2019-09-12 14:59:18 +03:00
cifer
f1ffd52e1e
supplement more comments on database::_opened variable
2019-09-12 14:59:18 +03:00
cifer
0bcf6d4d65
Fix #436 object_database created outside of witness data directory
2019-09-12 14:59:18 +03:00
obucinac
7553091d02
Peerplays SON plugin skeleton ( #122 )
...
* Peerplays SON plugin skeleton
* SON tests skeleton
2019-09-11 20:29:48 +02:00
S
8f317e93d6
Fix building on Ubuntu 18.04 with GCC 7
2019-09-11 15:37:44 +02:00
Ronak Patel
646dc2e548
Merged Bitshares PR #1462 and compilation fixes
2019-09-10 18:56:27 +05:30
Miha Čančula
00a38c521e
Update the FC submodule with the changes for GRPH-4
2019-09-10 10:26:05 +02:00
Ronak Patel
3510704398
Fix for for history ID mismatch ( Bitshares PR #875 )
2019-09-09 15:33:47 +05:30
Bobinson K B
b11edaa6a5
Merge pull request #69 from peerplays-network/WASM-49
...
get_account_history fix
2019-09-07 00:54:39 +05:30
Bobinson K B
f9a3d087ea
Merge pull request #60 from peerplays-network/GRPH-48-Object-Database-18.04
...
Grph 48 object database 18.04
2019-09-07 00:53:04 +05:30
Bobinson K B
64c05f9b3f
Merge pull request #70 from peerplays-network/GRPH-59-Proposal-failure-handling
...
Proposal failure handling
2019-09-07 00:52:02 +05:30
Bobinson K B
db8efafc62
Merge pull request #104 from peerplays-network/feature/GRPH-76
...
Short-cut long sequences of missed blocks
2019-09-07 00:51:12 +05:30
Bobinson K B
c1d70bf882
Merge pull request #89 from peerplays-network/GRPH-4
...
CliWallet_crash_ctrlD
2019-09-07 00:49:45 +05:30
Bobinson K B
ef7fe58139
Merge pull request #98 from peerplays-network/cli_wallet_tests
...
Cli wallet tests framework
2019-09-07 00:42:58 +05:30
Bobinson K B
2c28d0d49f
Merge pull request #87 from peerplays-network/feature/GRPH-54
...
Fix for irrelevant signature included issue
2019-09-05 14:03:19 +05:30
Ronak Patel
22eb42e3eb
Fixed integer overflow issue
2019-09-04 15:14:18 +05:30
Abit
f732048a6e
Merge pull request #938 from bitshares/fix-block-storing
...
Store correct block ID when switching forks
2019-09-04 10:54:53 +02:00
Srdjan Obucina
a081a8ecba
Add missing change
2019-09-03 12:46:47 +02:00
gladcow
7b259ba2d3
exclude second undo_db.enable() call in some cases
2019-09-03 08:07:46 +03:00
Peter Conrad
7d0d61ab43
Fixed undo_database
2019-09-02 17:19:21 +03:00
Peter Conrad
ab382189fe
Cut back block_log index file if inconsistent
2019-09-02 17:19:21 +03:00
Peter Conrad
0d108fb8ef
Improved consistency check for block_log
2019-09-02 17:19:21 +03:00
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
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
Miha Čančula
1b4b5d7b24
Merge branch 'develop' into GRPH-50-network_broadcast_api-fix-v2
2019-09-02 10:27:33 +02:00
Alfredo Garcia
3362d603cb
remove cache from cli get_account
2019-08-30 16:49:54 -03:00
Srdjan Obucina
11cf55c5d2
Increase block creation timeout to 2500ms
2019-08-30 13:57:57 +02:00
John Jones
8f4483dfea
remove needless find()
2019-08-29 07:39:20 +03:00
satyakoneru
f6423d0b10
GRPH-4-CliWallet_crash_ctrlD
2019-08-28 13:53:41 +00:00
Miha Čančula
83c28c2c06
Use offsetof instead of custom macro
2019-08-28 15:42:50 +02:00
Miha Čančula
4c54011d98
Update fc submodule
2019-08-28 15:42:21 +02:00
Miha Čančula
cb99aaa0cf
Adapt to variant API with max_depth argument
2019-08-28 15:42:21 +02:00
abitmore
94f9c5f3eb
Increase max depth for trx confirmation callback
2019-08-28 15:42:21 +02:00
Abit
a49f8bf47c
Merge pull request #714 from pmconrad/json_fix
...
JSON fix
2019-08-28 15:42:21 +02:00
abitmore
22e7c44984
Add nullptr check in api.cpp for easier testing
2019-08-28 15:41:15 +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
15290b8996
Use offsetof instead of custom macro
2019-08-28 14:55:15 +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
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
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
PBSA
896ac97962
5050 fee update and compilation error fix
2019-08-21 13:13:46 +00:00
pbattu123
f9e46a31df
Merge branch 'beatrice' into qa_gpos_18.04_gcc7_fix
2019-08-20 15:42:03 -03:00
pbattu123
947b02bd57
Merge branch 'beatrice' into beatrice-5050-merge
2019-08-20 15:15:01 -03:00
pbattu123
c2a7aa7a33
Merge pull request #39 from PBSA/virtual_op_fix
...
virtual-op-fix for deterministic virtual_op number
2019-08-20 14:54:18 -03:00
Prabhjot
2c14af0699
fix: is_benefactor_reward had the default value of true when not set
2019-08-19 11:47:04 -03:00
Miha Čančula
f525737879
Fix out-of-source CMake builds
2019-08-19 15:13:27 +02:00
Srdjan Obucina
4d426e1f5a
Enable building on Ubuntu 18.04 using GCC 7 compiler
2019-08-14 14:05:30 +02:00
Prabhjot
37b813d4fa
fix double definition of functions in database_api
2019-08-12 11:05:20 -04:00
Prabhjot Singh
8caeb0ec18
merge 5050 into beatrice
2019-08-12 08:38:53 -04:00
Prabhjot
80dc2003b9
Removed redundant if from asset_evaluator and fixed db_notify
2019-08-09 13:18:09 -04:00
Prabhjot
afe6cba258
Changed sweeps hardfork time
2019-08-09 13:04:02 -04:00
Prabhjot
a0ae945f8d
Added new lottery_asset_create_operation
2019-08-09 13:01:57 -04:00
Prabhjot
0386ffebce
Removed blind_sign and unblind_signature functions
2019-08-08 08:20:58 -04:00
Prabhjot
6072dd16bb
fix casting in overloaded function
2019-08-08 07:46:55 -04:00
Prabhjot
f7555d3e04
checked out ubuntu upgrade branch of fc
2019-08-07 10:50:13 -04:00
Prabhjot
8c91abd6a3
Added fc library back
2019-08-07 10:48:37 -04:00
Prabhjot
744bff7741
Removed submodule libraries/fc
2019-08-07 10:46:09 -04:00
pbsa
485bb0e7b3
included sstring in 2 files, added missing ops to db_notify.cpp
2019-08-06 15:19:51 -03:00
Prabhjot
115bfb0370
fixed asset_object
2019-08-06 07:54:06 -04:00
Prabhjot
c278352713
removed sweeps_parameter_extensions
2019-08-02 09:47:32 -04:00
Prabhjot
7944a6db34
fixed returntype in chain_parameters.hpp
2019-07-31 10:22:51 -04:00
Prabhjot
7044e5c782
added missing comma in operations.hpp, small changes to config.hpp
2019-07-31 10:19:35 -04:00
Prabhjot
3db62bbe46
Added sweeps parameters to parameter_extension
2019-07-31 09:36:22 -04:00
Prabhjot
4829c3dd93
added missing , in types.hpp
2019-07-30 15:28:03 -04:00
Prabhjot
8175ca4451
Added libraries/fc
2019-07-30 15:09:19 -04:00
Prabhjot
dbf545aa6b
Removed submodule libraries/fc
2019-07-30 15:06:05 -04:00
Prabhjot
7b98f7de16
Updated gitmodules, changes to allow voting on lottery fee
2019-07-30 15:01:44 -04:00
Prabhjot Singh
aa3128fe89
Merged beatrice into 5050
2019-07-30 11:43:31 -04:00
pbattu123
d365e555f4
virtual-op-fix for deterministic virtual_op number
2019-06-19 11:16:43 -03:00
Alfredo
891137cf57
merge PR 2
2019-05-30 00:04:53 -03:00
pbattu123
67616417b7
Revert "GPOS protocol"
2019-05-29 18:31:01 -03:00
pbattu123
2c86caacc5
Merge pull request #8 from oxarbitrage/gpos2
...
GPOS protocol
2019-05-29 18:09:48 -03:00
PBSA
4c174597ff
compilation errors resolved
2019-05-22 16:34:55 +00:00
pbattu
ee02f268f5
want to update HEAD to latest commit of fc
2019-05-21 21:29:59 -03:00
pbattu
84dff76a0a
updated submodules to support 18.04 upgrade
2019-05-21 19:13:44 -03:00
pbattu
0f06a9af2a
Required changes to upgrade blockchain to ubuntu18.04
2019-05-20 22:32:17 -03:00
pbattu123
ea41e06471
update db_version for replay and removed duplicate include files
2019-04-15 09:47:04 -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
dimfred
87bf4be89b
digest_accumulator picks out bm_create and bmg_create and reworked duplicate check
2019-02-06 14:25:37 +01:00
Fabian Schuh
d5beeae570
Set hardfork dates to February 18th 12:00PM GMT
2019-02-04 16:14:31 +01:00
dimfred
c86237cd86
changed api.cpp accordingly
2019-02-01 18:36:30 +01:00
dimfred
2922366e27
changed check_transaction to check only for proposals associated with GRAPHENE_WITNESS_ACC
2019-02-01 18:36:30 +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
Alfredo
610266481b
add create_vesting_balance command to cli wallet
2019-01-22 16:19:13 -03:00