Commit Graph

227 Commits

Author SHA1 Message Date
Pietro Abate
4d3174c557
Shell: Catch Lwt.Canceled during worker termination 2019-01-24 13:43:37 +01:00
Grégoire Henry
b5515ea99e
Shell: continue better logging 2019-01-24 13:43:36 +01:00
Pietro Abate
5915e98a55
shell: Better Logging 2019-01-24 13:31:59 +01:00
Pietro Abate
b5499b37d5
Shell: Catch timeout errors and improve reporting 2019-01-24 13:29:59 +01:00
Grégoire Henry
dbf4736e6b
Opam: update package description to opam.2.0
Co-authored-by: Pietro Abate <pietro.abate@nomadic-labs.com>
Co-authored-by: Gregoire Henry <gregoire.henry@tezos.com>
2019-01-21 17:54:19 +01:00
Grégoire Henry
de171a63f0
OPAM: strict version constraints on dune are not required anymore 2019-01-21 17:54:18 +01:00
Raphaël Proust
fd6ce36a7d Everywhere: use return_*
for * in unit none some true false
2019-01-03 12:21:17 +00:00
Raphaël Proust
7e81fe6c9c Shell/mempool: pretty-printing 2019-01-02 23:50:35 +00:00
Raphaël Proust
c02a970a28 Shell/mempool: handle failure to re-instantiate prevalidator
When the protocol changes, the prevalidator is re-instantiated. In case
this fails, the old-prevalidator still needs to be shutdown.
2019-01-02 23:38:02 +00:00
Pietro Abate
cd25bb4160 Shell: Worker initialization in error monad
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Mathias Bourgoin <mathias.bourgoin@tezcore.com>
2019-01-02 23:38:02 +00:00
Raphaël Proust
903f56d5c9
Shell/mempool_peer_worker: improve docstrings 2018-12-17 15:20:09 +01:00
Pietro Abate
35bccd05b1
Mempool: fix minor copyright and docstring strings
and change Work.work in Work.process_batch
2018-12-17 15:20:09 +01:00
Raphaël Proust
7cbf457888
Shell/mempool: bounded peer-workers request-queue size 2018-12-17 15:20:09 +01:00
Raphaël Proust
31242ebcb9
Shell/mempool: throttle peer workers 2018-12-17 15:20:08 +01:00
Raphaël Proust
8ba2bc2001
Shell/mempool: add identifiers to Worker.Name instances 2018-12-17 15:20:08 +01:00
Raphaël Proust
6a14afc1b0
Shell: introduce Mempool_peer_worker
A module for the ongoing mempool overhaul.

Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: MBourgoin <mathias.bourgoin@tezcore.com>
2018-12-17 15:20:08 +01:00
Raphaël Proust
ad9d087031
Shell/Mempool: limited, configurable size of parsed cache 2018-12-17 15:20:07 +01:00
Pietro Abate
0bb2f3d4d1
Mempool: cache result and operation in ValidatedCache 2018-12-17 15:20:07 +01:00
Raphaël Proust
1420715ab9
Shell/Mempool: minor clean up, remove unneeded function 2018-12-17 15:20:07 +01:00
Pietro Abate
e7a967376c
Mempool: unbox Request message and clarify pp message 2018-12-17 15:20:07 +01:00
Pietro Abate
34e8a1ce1e
Mempool: split validated operations cache and parsed operations cache 2018-12-17 15:20:06 +01:00
Pietro Abate
71790470ad
Mempool: make Mempool_worker.parse non-blocking. 2018-12-17 15:20:06 +01:00
Raphaël Proust
6b7031ad3c
Mempool_peer_worker: simpler interface
Removes unecessary primitives, types, etc.
2018-12-17 15:20:06 +01:00
Raphaël Proust
1431bcd6c8
Mempool_peer_worker: minor improvements 2018-12-17 15:20:05 +01:00
Raphaël Proust
460262130e
Mempool_peer_worker
A module for the ongoing mempool overhaul.
2018-12-17 15:20:05 +01:00
Raphaël Proust
5059b6ad4e
Mempool_worker: only introduce errors where they are needed 2018-12-17 15:20:05 +01:00
Raphaël Proust
7e687f8608
Mempool_worker: error management at create 2018-12-17 15:20:05 +01:00
Tom Jack
d53918451b Shell: mempool RPC fixes 2018-12-11 21:31:28 +00:00
James Deikun
08d94170be
More logging for the client daemons
- log seen blocks and heads when monitoring
- more detailed logging for baked blocks
- more detailed logging for endorsements
- more detailed logging for denunciations
- more detailed logging for nonce revelations
2018-12-03 16:00:58 +01:00
Raphaël Proust
5cc9e6ccc6 Shell/Mempool: limited, configurable size of parsed cache 2018-12-03 14:08:11 +00:00
Pietro Abate
2d5c56eeca Mempool: cache result and operation in ValidatedCache 2018-12-03 14:08:11 +00:00
Raphaël Proust
52d7215ed2 Shell/Mempool: minor clean up, remove unneeded function 2018-12-03 14:08:11 +00:00
Pietro Abate
98d772cc75 Mempool: unbox Request message and clarify pp message 2018-12-03 14:08:11 +00:00
Pietro Abate
fee5f44d63 Mempool: split validated operations cache and parsed operations cache 2018-12-03 14:08:11 +00:00
Pietro Abate
56ee8ba849 Mempool: make Mempool_worker.parse non-blocking. 2018-12-03 14:08:11 +00:00
Vincent Botbol
030916ed11
Prevalidation: fix preapply where applied operations would be reversed 2018-11-26 18:34:45 +01:00
Tom Jack
9afdd9b167
Alpha: count origination burn towards storage limit 2018-11-23 18:36:58 +01:00
Pietro Abate
2baa6c830c
Mempool: filter pendinds to include endorsement only 2018-11-22 18:20:50 +01:00
Marco Stronati
0b98dbd472
Shell: add rpc to trigget a Get_current_event 2018-11-22 18:20:49 +01:00
Vincent Botbol
dfb10047ef
RPC/Shell: make list_blocks tail-rec 2018-11-20 16:57:31 +01:00
Benjamin Canou
d3cdfca8e4
Fix OPAM dependencies 2018-11-16 14:04:55 +01:00
Victor Allombert
9ecc2e517c
Shell/validator: allow standalone block validation
Co-authored with `Grégoire Henry <gregoire.henry@tezos.com>`
2018-11-16 11:40:58 +01:00
Raphaël Proust
481772fc98
Mempool_worker: only introduce errors where they are needed 2018-11-14 09:08:26 +08:00
Raphaël Proust
f593677e99
Mempool_worker: error management at create 2018-11-14 09:08:22 +08:00
Grégoire Henry
3f04501c0d Shell: less optimistic heuristic for head change 2018-11-13 13:35:23 +00:00
Grégoire Henry
966c86def2 Shell: export fitness of the current mempool 2018-11-13 13:35:23 +00:00
Pietro Abate
0b08fcfa2c
Shell: introduce Mempool_worker
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: MBourgoin <mathias.bourgoin@tezcore.com>
2018-11-08 01:19:56 +01:00
Raphaël Proust
5400984c36 Fix CI: remove unneeded opens 2018-11-06 12:54:10 +00:00
Benjamin Canou
536e64d93f Mempool: add simple limits to the mempool 2018-11-06 12:54:10 +00:00
MBourgoin
255d9e4ff7
Shell/Distributed_db: make initial request delay depend on resource kind 2018-11-05 15:08:19 +01:00