Commit Graph

83 Commits

Author SHA1 Message Date
Nicolas Ochem e231825224 typo -replace ethereum with bitcoin 2017-07-01 19:14:36 -07:00
debris 349bde9f87 Merge branch 'master' of github.com:paritytech/parity-bitcoin into csv 2017-05-03 14:37:54 +02:00
debris 42f94e0921 updated author section in cli 2017-04-27 16:09:59 +02:00
debris 09f25c4f2f db refactor finished 2017-04-21 15:26:19 +02:00
debris a2d74615ed applied review suggestions 2017-04-14 16:41:14 +02:00
debris 57fd472db8 updated dependencies 2017-04-14 12:45:04 +02:00
Svyatoslav Nikolsky 6726c04f8b Merge pull request #397 from paritytech/cli_fix
fixed cli --db-cache option
2017-04-14 09:34:28 +03:00
Svyatoslav Nikolsky ee509fd696 Sync queue improvements: maintaining proper number of active connections on p2p level [WIP] (#396)
* autoconnect on start

* proper # of outbound connections in autoconnect

* close connection to seednode after receiving addr

* fixed seednodes list

* do not connect to same IPv4 && IPv6

* disconnect from seednode when >1 addr received
2017-04-14 08:28:41 +02:00
debris 3f7aa2ab34 fixed cli --db-cache option 2017-04-14 08:25:25 +02:00
Svyatoslav Nikolsky 4cb65e3409 Added couple of debug helpers to deal with panics and segfaults (#302)
* added couple of debug helpers to deal with panics

* trying to fix compilation

* trying to fix compilation

* test

* Revert "test"

This reverts commit 6169f7e1eb5cc7b43ea2e538686cb0144bf64712.
2017-04-05 21:19:10 +07:00
Marek Kotewicz 77cfd9e8f7 db refactor (#385)
* db refactor in progress, refactored kvdb

* kvdb refactor

* removed unused RwLock

* removed unused RwLock

* BlockChainDatabase

* db refactor in progress

* implemented BlockProvider for newdb

* fixed compiling

* newdb TransactionMeta

* newdb tests

* reopen tests for newdb

* replaced old db with new db

* chain_verifier uses new db

* sync module uses refactored db

* check double spends in verification layer

* added Forkable trait to satisfy resolving recursive types by compiler

* new db regtests in progress

* fixed verification and sync unit tests

* fixed miner and rpc unit tests

* implemented fmt::Debug for few structs

* removed commented out code

* fixed bencher target

* removing commented out code, polishing db_refactor pr
2017-04-05 16:37:58 +07:00
Svyatoslav Nikolsky d005307db9 get rid of custom cpu pool in sync 2017-01-11 16:36:33 +03:00
Svyatoslav Nikolsky 07d4f00241 implemented blocknotify option 2017-01-10 11:58:55 +03:00
Svyatoslav Nikolsky 9dad2a3eec Merge branch 'master' into sync_v2 2016-12-23 16:19:07 +03:00
Svyatoslav Nikolsky d696dcfdaf sync_v2 2016-12-23 16:13:18 +03:00
debris 10c9b2e546 jsonrpc v1 enabled 2016-12-20 11:51:50 +01:00
debris 2beb3aa7d2 updated jsonrpc libraries to latest version, support for jsonrpc v1 2016-12-20 11:42:51 +01:00
debris 8c0a8d4c6d fixed compiling 2016-12-15 14:36:18 +01:00
debris 7baaa47b8c import is hashing blocks when reading, added --skip-verification flag 2016-12-13 20:49:41 +01:00
Svyatoslav Nikolsky f14f809401 Merge branch 'master' into rpc_blockchain 2016-12-13 13:39:46 +03:00
NikVolf aa3dd9e700 api default & curl-example 2016-12-12 21:25:46 +01:00
Svyatoslav Nikolsky 9e1932e7f9 finished gettxout implementation 2016-12-12 21:49:01 +03:00
NikVolf c19740d3eb finalizing api 2016-12-12 19:18:43 +01:00
Svyatoslav Nikolsky d706a8300d implemented getblocktemplate RPC method 2016-12-09 17:34:04 +03:00
Svyatoslav Nikolsky b5035d6092 added MinerClient to apis list 2016-12-09 16:43:00 +03:00
Svyatoslav Nikolsky 2f0b42a5b5 Merge branch 'master' into sync_sendrawtransaction 2016-12-08 18:33:37 +03:00
Svyatoslav Nikolsky 23da291f95 accept_transaction 2016-12-08 14:48:00 +03:00
Marek Kotewicz e2afb545d3 Merge pull request #264 from ethcore/rpc_framework_copypaste
Copypasted RPC framework from Parity
2016-12-08 10:08:03 +01:00
Svyatoslav Nikolsky 6e87350a6f changed relay to true in version message 2016-12-07 16:40:57 +03:00
Svyatoslav Nikolsky 7598747b2c added missing JSON RPC options handling 2016-12-07 16:24:54 +03:00
Svyatoslav Nikolsky 99aa1c2330 another porion of parity RPC copypaste 2016-12-07 16:14:52 +03:00
debris 066b59a304 replaced unwrap with expect 2016-12-01 10:46:03 +01:00
debris d7daed26cf basic print-to-console 2016-12-01 10:40:56 +01:00
debris 67635a9336 Merge branch 'master' into onlynet 2016-11-30 17:08:49 +01:00
debris ca49061df0 command line option to limit connections only to ipv4 or ipv6 2016-11-30 16:01:11 +01:00
debris eaf396b3cb default seednodes 2016-11-30 14:37:17 +01:00
Svyatoslav Nikolsky 9a6c5c8579 support semi-unordered blocks import 2016-11-30 12:16:29 +03:00
debris 847cb36c6f chain verifier does not have hardcoded network constants 2016-11-25 18:38:21 +01:00
debris e1a2915a90 do not wait idiotic 30 seconds when running regtests 2016-11-25 12:39:51 +01:00
Svyatoslav Nikolsky 0164ac95cb panic -> expect 2016-11-25 12:39:14 +03:00
Svyatoslav Nikolsky ce8f896efb custom data dir option 2016-11-25 09:58:04 +03:00
NikVolf 1737c2deaa cli config 2016-11-21 12:06:55 +03:00
NikVolf 0da1fb184c configurable cache size 2016-11-21 11:52:27 +03:00
NikVolf 77c01c41e0 refactor sync and bin 2016-11-17 21:37:45 +03:00
Svyatoslav Nikolsky 035583fac1 Merge branch 'master' into respect_minimal_protocol_version 2016-11-17 08:23:01 +03:00
debris fe9828dbdc respect minimal protocol version, fixed #141 2016-11-17 01:02:43 +01:00
debris 56e2dc02b1 limit number of inbound and outbound connections for regtests 2016-11-17 00:33:35 +01:00
debris e07dfbb6c1 p2p thread pool for regtest has only 1 thread 2016-11-17 00:18:04 +01:00
Svyatoslav Nikolsky fce53cdc8b removed --diskdb option 2016-11-16 09:58:26 +03:00
Svyatoslav Nikolsky b152c8178d introduced ConsensusParams + BIP65 support 2016-11-15 14:00:46 +03:00