Commit Graph

5463 Commits

Author SHA1 Message Date
Sebastien Mondet
e9eac31e9a Add /monitor/commit_hash RPC 2019-02-25 17:05:23 -05:00
Galfour
4893fe8826 added a comment to the dune file 2019-02-25 21:34:32 +00:00
Galfour
9df0f6ad3a initial commit 2019-02-25 21:29:29 +00:00
Grégoire Henry
b4e6018dd1 P2p: do not use ipv4 discovery in sandboxed scripts (closes 477)
This partially revert f51b8ad998.

We should way until a proper configuration-less discovery mechanism
based on ipv6_multicast is re-enabled before to use it by default in
the tests.
2019-02-25 15:18:06 +00:00
Sebastien Mondet
32348c092c
Fix use of ledger in main_signer 2019-02-25 15:44:18 +01:00
Sebastien Mondet
3690566b0b
Fix client display for “unspecified” chain-id 2019-02-25 15:44:18 +01:00
Sebastien Mondet
f2dd2c5776
Improve UX of ledger commands 2019-02-25 15:44:18 +01:00
Sebastien Mondet
da4a99ac27
Add support for test-chain-related APDUs 2019-02-25 15:44:18 +01:00
Raphaël Proust
575aafc554 vendors: add synopsis to each opam file 2019-02-25 02:03:12 +00:00
Grégoire Henry
4cbc5282b8
P2p: fix typo 2019-02-21 15:32:42 +01:00
Raphaël Proust
568057ed8f
P2p: minor style issues 2019-02-21 15:02:15 +01:00
Julien Tesson
9250e3891d
P2p: add P2p_point.Id.pp_list 2019-02-21 14:45:37 +01:00
Julien Tesson
0557c49c88
P2p: add P2p_connection.Pool_event.pp 2019-02-21 14:45:36 +01:00
Julien Tesson
48094c9989
Stdlib: add Option.pp 2019-02-21 14:45:35 +01:00
Julien Tesson
be5f985ec7
P2p: exporting Point.Id.equal 2019-02-21 14:45:33 +01:00
Raphaël Proust
f6f047ea15 Micheline: fix dependencies in opam/dune 2019-02-21 09:59:38 +00:00
Raphaël Proust
e4e30bb3d8 Scripts: more typos 2019-02-21 08:48:21 +00:00
b
97a1b9160a Scripts: typos 2019-02-21 08:48:21 +00:00
b
acf376617c Doc: fix typo 2019-02-21 08:48:21 +00:00
Raphaël Proust
671b10a2d2 Micheline: small improvements to the tests 2019-02-21 02:38:19 +00:00
Lý Kim Quyên
10c2406ce6 add test 2019-02-21 02:38:19 +00:00
Vincent Botbol
12fd778172 Test/Micheline: clean-up & refactor of the test suite 2019-02-21 02:38:19 +00:00
Lý Kim Quyên
2d0c98b2da test michelson parser 2019-02-21 02:38:19 +00:00
Raphaël Proust
f44212ce57 gitlab-ci: run src/proto_alpha/lib_client tests 2019-02-21 02:11:35 +00:00
Lý Kim Quyên
ad4e02c827 test michelson macros 2019-02-21 02:11:35 +00:00
Eugen Zalinescu
4aafeee6eb
Signer: added supports_deterministic_nonces 2019-02-20 23:08:22 +01:00
Eugen Zalinescu
d76c24670a
Signer: very simple test for deterministic nonce 2019-02-20 23:08:21 +01:00
Eugen Zalinescu
fd9694d8b0
Signer: added deterministic nonces 2019-02-20 23:08:19 +01:00
Grégoire Henry
987d3a9c6a
P2p: use --private-mode for sandboxed nodes 2019-02-20 18:57:51 +01:00
Grégoire Henry
d78505fff8
Opam: fix packaging of proto_demo 2019-02-20 18:35:24 +01:00
Grégoire Henry
e3f9ae4578
P2p: (re)add local peer discovery 2019-02-20 18:25:13 +01:00
Philippe Bidinger
f51b8ad998
Client: update proto_demo
The client registers three commands.
- demo tests an echo RPC,
- fail tests an always failing RPC,
- bake creates a new block with empty protocol content.
2019-02-20 17:28:56 +01:00
Grégoire Henry
91403aa69d
Shell: remove dead code 2019-02-20 17:28:56 +01:00
Vincent Bernardoff
f458b6119c
Lwt_utils: connect: add a ?timeout argument
This is to replace the default UNIX timeout that can be very long (30s
or so). In the context of baking, it is not acceptable to wait for
such a long time to connect to e.g. a signer daemon whenever there is
multiple addresses available for load balancing.
2019-02-20 17:13:41 +01:00
OCamlPro-Iguernlala
cc848fc479
P2p: export 'P2p_pool.private_node'
'private_node conn' returns 'true' if the node associated with
the given connection is in private mode
2019-02-20 16:47:17 +01:00
OCamlPro-Iguernlala
a70ae26706
P2p: export function 'P2p_pool.score' 2019-02-20 16:47:16 +01:00
OCamlPro-Iguernlala
3a3d0848ad
P2p: randomly allow one additional incoming connection
If 'max_connections' is already reached, this modification will
enable one additional incoming connection if 'Random.bool()' is
true. This will allow a kind of connections diversification by
enabling a call to P2p_maintenance.too_many_connections, which
will close some connection with a low score (depending on the
chosen scoring criterion)
2019-02-20 16:47:16 +01:00
OCamlPro-Iguernlala
3a4d523e09
P2p: improve logging level in P2p_maintenance 2019-02-20 16:47:04 +01:00
Vincent Bernardoff
78f22f4fdd
Alpha/Baker: add optional pidfile argument to daemons 2019-02-20 16:16:53 +01:00
Vincent Bernardoff
c66381a1c3
Signer: add an optional pidfile argument 2019-02-20 16:16:48 +01:00
Marco Stronati
356f4df169
Alpha: rename versions to alpha_{current,previous}
Remove initialization from protocol 002.
2019-02-20 12:39:21 +01:00
Marco Stronati
6194efa4e0
Scripts: remove old archive_protocol.sh 2019-02-20 12:39:21 +01:00
Marco Stronati
62abb52b9f
Scripts: add activate_protocol.sh 2019-02-20 12:39:21 +01:00
Marco Stronati
53fc7c9dfc
Scripts: add snapshot_alpha.sh 2019-02-20 12:39:21 +01:00
astefano
a21f671b0d
Alpha/Test: added voting tests for quorum
Co-authored-by: Eugen Zalinescu <eugen.zalinescu@nomadic-labs.com>
2019-02-20 12:39:20 +01:00
astefano
d478985bf8
Alpha/Test: fix tests failing when tokens_per_roll changes
This commit fixes the tests (except those from voting.ml) which failed when the value
of tokens_per_roll (from src/proto_alpha/lib_protocol/src/constants_repr.ml) changes.

Notably, 2 functions were deleted with get next baker by priority from double_baking.
They were used only in one test and they were creating pairs of baker and index,
but this index did not necessarily correspond to the baker's priority.
2019-02-20 12:39:20 +01:00
Marco Stronati
f193038e91
Shell: remove unused dependecies in opam file 2019-02-20 12:39:20 +01:00
Marco Stronati
1e6a8e1874
Crypto: add check on signature path lengths 2019-02-20 12:39:20 +01:00
Marco Stronati
fd4f435e2e
Crypto: add docstrings 2019-02-20 12:39:19 +01:00
Raphaël Proust
c7c8d64557
Error Monad: improve docstring to register_error_kind 2019-02-20 14:03:44 +08:00