1
0
Fork 0
forked from lthn/blockchain
Commit graph

101 commits

Author SHA1 Message Date
sowle
6bd9a73448
db_backend_selector is used only locally to make things simplier 2020-03-16 17:48:02 +03:00
sowle
5567275518
blockchain database predownloading: first version 2020-03-12 18:07:31 +03:00
sowle
5d5c63c1f8
db_backend_selector introduced 2020-03-12 13:21:22 +03:00
sowle
c1d65f6d05
BCS: DB versions matching logic improved to cover more cases 2020-03-05 22:50:28 +01:00
sowle
5a219d15a0
test commit 2020-02-28 13:17:20 +03:00
sowle
ae2e1955fe
core: fixed few bugs in prune_ring_signatures_and_attachments_if_need() 2020-02-07 12:39:54 +03:00
cryptozoidberg
834e679b8c
Merge branch 'develop' into mobile 2020-02-03 17:00:09 +01:00
sowle
5622ce550b
minor fixes in suspicious block time check 2020-01-28 02:37:54 +03:00
cryptozoidberg
03f04c9dd9
implemented exented wallet api, finished plain wallet test(but not tested yet) 2020-01-23 03:26:25 +01:00
cryptozoidberg
e82bd6b575
added new test, fixed multiple bugs 2019-11-29 21:43:17 +01:00
cryptozoidberg
cf07085e68
fixed two coretests 2019-11-20 23:03:27 +01:00
cryptozoidberg
da2b26f9fe
fixed coretests regarding to new tx handling schema 2019-11-19 02:28:15 +01:00
cryptozoidberg
57e0aa063d
pool code modificated to work with onboard transactions 2019-11-16 20:26:40 +01:00
cryptozoidberg
17e36012de
transaction pool optimisation: basic implemntation 2019-11-16 01:06:21 +01:00
cryptozoidberg
499f822e97
moved tx semantics validation to separate funtion, added to pool validation and to core validation 2019-11-15 23:58:09 +01:00
cryptozoidberg
d1e6ef429b
refactoring of tx pool/core block's transactions handling 2019-11-15 01:04:51 +01:00
cryptozoidberg
5b14456c61
changed parameters of get_block_template 2019-11-14 19:53:38 +01:00
sowle
a5990a00b7
select_db_engine_from_arg improvements and arg_db_engine option fix 2019-11-14 05:54:52 +03:00
cryptozoidberg
2e51748cfb
removed unused code 2019-10-25 22:59:45 +02:00
cryptozoidberg
1ade55eb17
libmdbx set as an option for command line parameter(--db-engine) 2019-10-25 00:13:38 +02:00
cryptozoidberg
f75be80a3f
Merge branch 'develop' into libmdbx 2019-10-23 15:01:30 +02:00
sowle
64d0d1a4ea
fixed testnet synchronization 2019-10-07 08:18:58 +03:00
cryptozoidberg
01bc8ef53d
Merge branch 'develop' into libmdbx 2019-09-27 20:34:00 +02:00
cryptozoidberg
ef8f61fbc4
fixed relative_cumulative_difficulty issue 2019-09-26 22:07:47 +02:00
cryptozoidberg
7eb7849f86
Merge branch 'develop' into libmdbx 2019-09-26 15:04:39 +02:00
sowle
d66e07ef1a
filesystem unicode refactoring WIP3 2019-09-25 17:09:38 +03:00
cryptozoidberg
22a5c44089
added more logs + fixed issue with forgotten cumulative_diff_precise_adjusted 2019-09-23 21:51:25 +02:00
sowle
f5dbbfd1d4
some warning fixed 2019-09-11 13:30:56 +03:00
cryptozoidberg
7aed4b508c
Merge branch 'master' into develop 2019-09-08 20:03:29 +02:00
sowle
fd0e7c3f7d
minor fixes and impovements 2019-09-07 12:46:25 +03:00
cryptozoidberg
89ac994b59
fixed misprint and reduced building threads number 2019-09-07 00:46:15 +02:00
cryptozoidberg
888d97d27d
fixed bug with wallet deactivation on poor connection, related to PoS mining failures 2019-09-06 15:13:28 +02:00
sowle
6f93fbd7a0
fix for PoS locking issue + enhanced naming 2019-09-05 19:08:10 +03:00
cryptozoidberg
84dfc6917a
added cmake paramter to have mdbx as an option 2019-08-31 14:41:18 +02:00
cryptozoidberg
5009a20461
added mdbx backend, first launch(got some errors) 2019-08-30 00:21:53 +02:00
sowle
28659827c3
lmdb: reverting back to v 18 due to complex issues with resizing/synchronization
lmdb v 24 requires manual resizing/growing during it's normal function
Zano core is purely async so it's not easy to prevent all DB txs from starting on lmdb adapter level, because it will lead to random deadlocks in the core due to many high-level cross-thread dependencies.
We will rethink this later.
Many thanks to @leo-yuriev who helped us to discover these issues!
2019-08-28 17:58:35 +03:00
sowle
1caa86c499
DB: fixed a bug in tx pool major compartibility option storing, implemented more robust two-stage lmdb opening for blockchain and tx pool; added handling for 0.9.18->0.9.24 lmdb migration for case, when a user has >128GB of free space 2019-08-17 07:10:37 +03:00
cryptozoidberg
c49e24007a
limited BLOCKCHAIN_HEIGHT_FOR_POS_STRICT_SEQUENCE_LIMITATION work until hard fork 1 2019-08-14 15:35:29 +02:00
cryptozoidberg
64a2c7b278
market as unmixable txs 2019-08-09 17:00:54 +02:00
sowle
393bf525d6
security improvement in get_a_to_b_relative_cumulative_difficulty() 2019-08-09 07:32:12 +03:00
cryptozoidberg
58c0fff1de
fixed bug in is_reorganize_required 2019-08-08 21:15:09 +02:00
cryptozoidberg
521ffa7904
changed var to print 2019-08-08 17:51:30 +02:00
cryptozoidberg
b883aa39f7
print results 2019-08-08 17:33:15 +02:00
cryptozoidberg
dca5aae9cb
added another command for getting difficulty numbers 2019-08-08 17:21:38 +02:00
sowle
44a989dd8c
disallow etc_tx_details_unlock_time2 usage prior to hardfork 1 2019-08-07 18:41:18 +03:00
sowle
0374e9e13d
bcs: minor improvements 2019-08-07 08:03:44 +03:00
cryptozoidberg
b10e50d640
added helpful comment 2019-08-06 20:23:05 +02:00
cryptozoidberg
5088b2dd46
fixed big with blockchain version 2019-08-06 20:20:44 +02:00
sowle
4565ae2bf7
minor enhancements 2019-08-06 14:16:44 +03:00
cryptozoidberg
6847fa5b89
added missing tests, reset blockchain from db 2019-08-05 21:43:10 +02:00