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
phink
0d22209028
Micheline: fix forgotten annotation
2018-12-17 12:30:44 +00:00
Sebastien Mondet
8772b23235
Make register key .. as delegate
“idempotent”
2018-12-14 12:50:25 -05:00
Tom Jack
d53918451b
Shell: mempool RPC fixes
2018-12-11 21:31:28 +00:00
Tom Jack
4449389ef2
Michelson: fix roman numeral DIP unexpansion
2018-12-10 14:00:24 +00:00
Vincent Bernardoff
f35b7f33ed
Everywhere: sed 's/picotez/nanotez/g'
2018-12-04 13:26:41 +00:00
Eugen Zalinescu
a8aac1ca03
Alpha: test reward retrieval with two endorsers
2018-12-03 16:18:47 +01: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
Pietro Abate
214055ac62
RPC: print uri in RPC_context.Not_found
2018-12-03 14:30:23 +00: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
Jun FURUSE
b843dbcb7b
Typo fixes
2018-12-01 06:57:40 +00:00
Vincent Botbol
3290c10531
Baker: log included operations on block injection failure
2018-11-26 19:33:44 +01:00
Vincent Botbol
c13a7135f8
Baker: fix inconsistency in logging
2018-11-26 19:33:36 +01:00
Vincent Botbol
030916ed11
Prevalidation: fix preapply where applied operations would be reversed
2018-11-26 18:34:45 +01:00
Lý Kim Quyên
86d7306e47
Tests: fix test of instruction STEPS_TO_QUOTA
2018-11-26 15:07:09 +01:00
Grégoire Henry
c2049a3a18
Client/Alpha: implements --fee-cap
and --burn-cap
2018-11-24 07:22:50 +01:00
Vincent Botbol
9f52c43cff
Baker/Endorser: record baked blocks and endorsement before injecting
2018-11-23 23:13:03 +01:00
Grégoire Henry
3b46f49651
Alpha: minor fixes
2018-11-23 22:45:18 +01:00
Grégoire Henry
fa4b33aa47
Alpha: fix gas consumption for manager operations
2018-11-23 22:45:17 +01:00
Grégoire Henry
ee722a237a
Alpha/Baker: use picotez for minimal_fees_per_{gas_unit,byte}
2018-11-23 21:54:16 +01:00
Marco Stronati
e3111bc574
Shell: add rpc to trigget a Get_current_event
2018-11-23 21:45:35 +01:00
Grégoire Henry
6b3517e095
Alpha/Test: fix voting test
2018-11-23 21:44:52 +01:00
Grégoire Henry
6e0cc99a03
Alpha: fix punishment for unrevealed nonces.
2018-11-23 18:38:40 +01:00
Grégoire Henry
8a8912c9bd
Mempool: correctly filter out endorsement without bond
2018-11-23 18:38:23 +01:00
Marco Stronati
065d629e7c
Alpha/Vote: faster refusal of too many proposals
2018-11-23 18:38:01 +01:00
Grégoire Henry
30aa2ec204
Alpha: increased gas cost for origination
2018-11-23 18:37:16 +01:00
Tom Jack
9afdd9b167
Alpha: count origination burn towards storage limit
2018-11-23 18:36:58 +01:00
Grégoire Henry
4b6f471ead
Alpha/Baking: add minimal fees and wait for late endorsement
2018-11-22 20:38:38 +01:00
Pierre Chambart
56936c7a1e
Add sync test option
2018-11-22 19:06:19 +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
Benjamin Canou
fc42bd5a91
Alpha: increment version string and update context stitching
2018-11-22 18:17:36 +01:00
Grégoire Henry
c656d54500
Alpha: improve storage
2018-11-22 18:17:35 +01:00
Grégoire Henry
1dc748ee47
Alpha: maintain the set of delegates with frozen balance
2018-11-22 18:17:35 +01:00
Grégoire Henry
d34ca12240
Alpha: maintain a set of active delegates with rolls
2018-11-22 18:17:35 +01:00
Benjamin Canou
aebe8319d5
Alpha: fix tests w.r.t. the new origination policy
2018-11-22 18:17:35 +01:00
Benjamin Canou
a991396e10
Alpha: make origination cost for tz[123]s on par with KT1s
2018-11-22 18:17:35 +01:00
Grégoire Henry
09e3881c6b
Alpha/Vote: do not allow multiple votes
2018-11-22 18:13:54 +01:00
Marco Stronati
17b258b92c
Alpha/Tests: test for limit
2018-11-22 18:13:54 +01:00
Marco Stronati
278ffb5a17
Alpha/Vote: limit number of proposals per delegate to 20
2018-11-22 18:13:54 +01:00
Marco Stronati
249bbbcb6d
Alpha/Tests: add voting tests
...
Co-authored-by: Jun FURUSE <jun.furuse@dailambda.jp>
Co-authored-by: Marco Stronati <marco@stronati.org>
2018-11-22 18:13:53 +01:00
Jun FURUSE
09a8721598
Alpha/Vote: fix proposal voting to be stake propotional
...
Co-authored-by: Jun FURUSE <jun.furuse@dailambda.jp>
Co-authored-by: Marco Stronati <marco@stronati.org>
2018-11-22 18:13:53 +01:00
Marco Stronati
f1614414cc
Alpha/Vote: add RPCs to read voting state
...
Co-authored-by: Jun FURUSE <jun.furuse@dailambda.jp>
Co-authored-by: Marco Stronati <marco@stronati.org>
2018-11-22 18:13:53 +01:00
Grégoire Henry
c981391128
Alpha: fix indent
2018-11-22 18:13:53 +01:00
Benjamin Canou
6510869b73
Updater: registration or a protocol now returns the registered module
2018-11-22 18:07:07 +01:00
Vincent Botbol
32d2bf606d
Baker: fix documentation typo
2018-11-21 14:45:12 +01:00
Vincent Botbol
dfb10047ef
RPC/Shell: make list_blocks tail-rec
2018-11-20 16:57:31 +01:00
Lý Kim Quyên
eb673b19f2
fix the parser by adding the character 'b' into the case of warning instead of raise an error'
2018-11-19 21:37:54 +00:00
Vincent Bernardoff
9f5ebc659e
Client: add encrypt secret key
client command
2018-11-19 15:22:24 +00:00
Pierre Boutillier
991b39a2b5
Signer: Fix high watermarking
...
Fix 89372a8e28
2018-11-19 14:53:41 +01:00
Sebastien Mondet
2cd1be9ee9
Prompt for key validation from Ledger (importing)
2018-11-19 09:39:59 +01:00
Benjamin Canou
d3cdfca8e4
Fix OPAM dependencies
2018-11-16 14:04:55 +01:00
Sebastien Mondet
67ad47d054
Remove unused, duplicate function
...
The function `find_log_rules` in `src/bin_node/node_run_command.ml` is an older
duplicate of the one in `Logging_unix`.
2018-11-16 13:50:33 +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
Pierre Boutillier
ede71b9e83
Baker: Fix nonces file cleanup
...
If it fails to fetch the metadata of a block it has a nonce for,
it drops the nonce.
2018-11-15 16:10:48 +00:00
Pierre Boutillier
8b839c9ad9
A port is an unsigned int16... (fix encoding)
2018-11-15 14:08:20 +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
Benjamin Canou
89372a8e28
Signer: better high watermarking
2018-11-13 15:16:12 +01: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
6a83898d98
Base: Add block header docstring
2018-11-12 15:25:45 +00:00
Benjamin Canou
494a4be140
Client: cleanup runtest_contracts.sh and remove attic tests
2018-11-12 11:30:35 +01:00
b
87be7df584
Client: rm attic/fail.tz (duplicate from macros/fail.tz) & improve TODO messages
2018-11-12 11:30:34 +01:00
b
e8fd44dca4
Client: reorg Michelson contracts + update bash scripts
2018-11-12 11:30:33 +01:00
b
ff468aac68
Client: reorg Michelson test contracts and bash scripts (mini_scenarios, pt2)
2018-11-12 11:30:33 +01:00
b
2f58e86fa8
Client: reorg Michelson test contracts and bash scripts (macros, pt2)
2018-11-12 11:30:32 +01:00
b
3c1f5702e1
Client: reorg Michelson test contracts and bash scripts (opcode, pt2)
2018-11-12 11:30:31 +01:00
b
015c5ed694
Client: reorg Michelson test contracts and bash scripts (attic, pt2)
2018-11-12 11:30:31 +01:00
lykimquyen
291e3f06a3
Tests: reorganise Michelson tests
2018-11-12 11:30:30 +01:00
lykimquyen
6ee47d63c0
Tests: split Michelson tests into category attic
2018-11-12 11:30:29 +01:00
lykimquyen
8d09fffbab
Tests: split Michelson tests into category mini_scenarios
2018-11-12 11:30:29 +01:00
lykimquyen
a37a1f49f7
Tests: split Michelson tests into category macros
2018-11-12 11:30:28 +01:00
lykimquyen
e719f401f6
Tests: split Michelson tests into category opcode
2018-11-12 11:30:27 +01:00
Vincent Bernardoff
56fa339937
Signer: remove socket on all more termination signals
2018-11-09 13:04:40 +00:00
Vincent Bernardoff
d1c46b5cf2
Signer: add other remote signers
...
For redundancy purposes, there is no reason why a remote signer could
not sign with other remote signers. This patch adds remote signers
support for signers.
2018-11-09 13:04:40 +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
Grégoire Henry
e02b166b84
Baker/Nonces: fix reveal nonces
2018-11-07 21:50:19 +01:00
Grégoire Henry
e966d2784e
Baker/Nonces: use Block_hash.Map.t
instead of association list
2018-11-07 21:50:18 +01:00
Vincent Botbol
2e2a40b331
Alpha/Client: also prevent the client from parsing n times the nonces
2018-11-07 21:50:18 +01:00
Vincent Botbol
ca1b05e514
Baker: small refactoring
2018-11-07 21:50:17 +01:00
Vincent Botbol
3b33fe1709
Baker/Nonces: on new cycles, clear 5 cycles old nonces from the file
2018-11-07 21:50:17 +01:00