Commit Graph

206 Commits

Author SHA1 Message Date
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
Victor Allombert
60a6b76229 RPC: add a hash+N and a hash-N notations 2018-10-24 21:41:08 +00:00
Victor Allombert
2352a78301 RPC: add a way to access a given block using its level 2018-10-24 21:41:08 +00:00
Vincent Botbol
bb6983590f
Shell: fix notification of new operations in the mempool 2018-10-24 18:02:38 +02:00
Mathias Bourgoin
1272b11ea2
Shell: first batch of statistics in the DistributedDB
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Mathias Bourgoin <mathias.bourgoin@tezcore.com>
2018-10-24 11:48:12 +02:00
Victor Allombert
ee640c8653
Shell: Extract the block-application function into a separate module 2018-10-24 10:51:33 +02:00
Raphaël Proust
7cbfcfa608
Shell: simplify the signature of Prevalidation
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Grégoire Henry <gregoire@tezcore.com>
2018-10-22 14:46:37 +02:00
Raphaël Proust
bd116f3db7
Prevalidator: move Prevalidation RPCs in Prevalidator 2018-10-17 17:06:08 +08:00
Grégoire Henry
45a07d534f
Shell: fix error messages 2018-10-17 17:02:05 +08:00
Raphaël Proust
c4e65879fc
Prevalidator/Prevalidation: move existential
Note that now, the chain_validator is responsible for swapping the
prevalidator when a new protocol arrives.

Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Grégoire Henry <gregoire.henry@tezos.com>
2018-10-17 17:01:44 +08:00
Raphaël Proust
129caccf4e
Shell/worker: export functor result signature 2018-10-17 10:32:37 +02:00
Pietro Abate
c87b6c533d
Prevalidator: Add doc string to prevalidator/ion. 2018-08-30 16:24:17 +02:00
Thomas Blanc
952dacac82 Adding Block.Header module to State, letting Chain_traversal.live_blocks use that module 2018-08-29 18:26:40 +00:00
Thomas Blanc
c723869f65 Getting the block_header out of contents in Store (no change in State interface) 2018-08-29 18:26:40 +00:00
Vincent Botbol
9f5a521188
Shell: preapply should hash instead of commit 2018-08-29 11:03:56 +02:00
Pierre Boutillier
b5fc7f582e
Update license in opam files 2018-08-22 14:50:13 +02:00
Vincent Botbol
94451e1e62
Fix style 2018-08-20 11:04:55 +02:00
Vincent Botbol
e5b2927310
Shell/Prevalidation: add the streaming of the newly validated operations 2018-08-20 11:04:54 +02:00
Grégoire Henry
87e0de9826 Dune: use the new syntax 2018-08-01 10:52:24 +02:00
Grégoire Henry
5362b321d9 Dune: rename s/jbuild/dune/ 2018-08-01 10:32:12 +02:00
Pietro
b89682e441 Build: Jbuilder -> Dune 1.0.1 2018-07-24 19:15:04 +02:00
Grégoire Henry
f9dd92d6b4 Shell/RPC: fix filtering of next_protocols in GET /monitor/heads 2018-07-18 22:34:13 +02:00