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
Pietro Abate
3776e6853d
Error Monad: add docstring to register_error_kind
2019-02-20 13:57:20 +08:00
Grégoire Henry
5f378c8ba0
P2p: algorithmic optimisation in P2p_pool
.
2019-02-19 21:43:53 +01:00
Grégoire Henry
15b61d6b84
P2p: fix race condition in node initialisation
2019-02-19 21:43:53 +01:00
Grégoire Henry
1853889637
P2p: improve P2p_socket
...
There is no notion of unauthenticated connection, since the function
`authenticate` is immediately called on a
`P2p_io_scheduler.connection` and returns an authenticated connection,
or nothing. So, we only deal with authenticated connections. The
identifier of a connection is the same one as the one of the
`P2p_io_scheduler.connection` underneath.
2019-02-19 21:43:52 +01:00
Grégoire Henry
2716cbc1f1
P2p: introduce P2p_fd
2019-02-19 21:43:52 +01:00
Grégoire Henry
2e85409d25
Stdlib: better debug message in List.Bounded.insert
2019-02-19 21:43:51 +01:00
Grégoire Henry
14656a288b
Make: add make build-dev-deps
2019-02-19 17:37:54 +01:00