Commit Graph

5724 Commits

Author SHA1 Message Date
Lý Kim Quyên
e4a5d3c45c test for check point 2019-02-28 05:32:07 +00:00
Pierre Boutillier
d7ba8bb07d Resto: Fix #480: Keep the host: set by the user with TEZOS_SIGNER_HTTP_HEADERS
This is a fixup of 21bb9436371741a8cf643cfc6218ace9ebfecc19
2019-02-27 15:42:37 +00:00
Pierre Boutillier
b4b97dada3
Fix identity.json preservation in docker images after a reset 2019-02-27 11:02:26 +01:00
Grégoire Henry
c80ab66397
Shell: improve termination
Kill the `DistributedDB` before anything else.
2019-02-26 12:11:09 +01:00
Grégoire Henry
359f2d6932
P2p: improve cancelation in maintenance 2019-02-26 12:11:08 +01:00
Grégoire Henry
07595c9e1f
P2p: improve cancelation
Pending connections were not easily interuptible.
2019-02-26 12:11:07 +01:00
Grégoire Henry
4adf696c65
P2p: improve logging level 2019-02-26 12:11:04 +01:00
Raphaël Proust
d29f426b8e
Fix some typos in Michelson specifications 2019-02-26 12:07:03 +01:00
Ivan Gromakovskii
d649975494
Fix some typos in the Michelson specification
1. `MEM` operates on a value and a set, so `v` is there by mistake.
2. Description of `SET_CDR` was copy-pasted from description of `SET_CAR`.
3. It's not clear where that `p` comes from, seems to be copy-pasted
by mistake.
2019-02-26 12:07:00 +01:00
Grégoire Henry
33a7ca51c3
Client: Use Host in HTTP requests
and add proper error message when the node refuses connection for
unallowed origin (CORS).
2019-02-26 12:00:37 +01:00
Grégoire Henry
24686ae8f2
Shell/RPC: enforce Host when using CORS. 2019-02-26 12:00:32 +01:00
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