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
Sandip Patel
62f81ee092
Added get_asset_count API
2019-10-02 13:23:57 +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
2695b1c30a
Dereference chain_database shared_ptr
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
Sandip Patel
824c681e0f
Removed unrelated comment
2019-10-02 13:18:37 +03:00
Sandip Patel
7a0c5b1405
Fixed account_history_pagination test
2019-10-02 13:18:37 +03:00
Sandip Patel
4b57efa015
Fixed duplicate ops returned from get_account_history
2019-10-02 13:18:37 +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
Miha Čančula
686a1109e1
Fix undefined references in cli test
2019-10-02 13:18:37 +03:00
Roshan Syed
5b2f6f669a
Support/gitlab ( #123 )
...
* Updated gitlab process
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
Miha Čančula
bfc78e236b
Update the FC submodule with the changes for GRPH-4
2019-10-02 13:10:00 +03:00
Ronak Patel
dab396e1e4
Fix for for history ID mismatch ( Bitshares PR #875 )
2019-10-02 13:08:39 +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
Alfredo Garcia
d1a40584c6
change bitshares to core in message
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
903f82b3c9
Added test case for broken merge on empty undo_db
2019-10-02 13:08:39 +03:00
Peter Conrad
e905534ea6
Fixed undo_database
2019-10-02 13:05:51 +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
cefe6e5156
Writing the object_database is now almost atomic
2019-10-02 13:05:51 +03:00
Peter Conrad
816bb60925
Dont leave _data_dir empty if db is locked
2019-10-02 13:05:51 +03:00
Peter Conrad
c8e95f831d
Fixed lock detection
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
Ronak Patel
bef59435e4
Merged changes from Bitshares PR 1036
2019-10-02 13:05:50 +03:00
Miha Čančula
b05cce3b35
Adjust newly merged code to new API
2019-10-02 13:03:39 +03:00
Alfredo Garcia
2856ebed8d
add cli tests framework
2019-10-02 13:01:28 +03:00
Alfredo Garcia
f0a6638970
remove cache from cli get_account
2019-10-02 13:01:28 +03:00
gladcow
0d28d84603
increase delay for node connection
2019-10-02 13:01:28 +03:00
Srdjan Obucina
e01e66f774
Increase block creation timeout to 2500ms
2019-10-02 13:01:28 +03:00
John Jones
075710ddc5
remove needless find()
2019-10-02 13:01:28 +03:00
Peter Conrad
df1b199a4b
Created unit test for #325
2019-10-02 13:01:28 +03:00
Miha Čančula
0dd15cacc3
Make all the tests compile
2019-10-02 13:01:28 +03:00