ligo/src/node/shell
Grégoire Henry 5b50279851 Import new version of vendors/ocplib-resto
The new version of ocplib-resto :

- uses jbuilder ;
- is functorized over `Json_encoding` rather than `Json_repr` ;
- handles query parameters ;
- handles HTTP methods (GET, POST, DELETE, PUT, PATCH) ;
- replaces `custom_service` by a more generic trailer argument ;
- replaces generic answer `(code, body)` by a more ad-hoc sum type
  (allowing distinct encoding for success and error) ;
- includes a minimal HTTP-server based on Cohttp
  (includings CORS and media type negotiation).
- adds a function `Directory.transparent_lookup` to lookup/call
  a service handler without serializing the various parameters
  (path, query, request body).

As a first consequences in Tezos, this patch allows binary
communication between the client and the node.

This patch tries to be minimal inside the tezos source code and
therefore it introduces a minimal compatibility layer in
`RPC.ml`. This code should be removed as soon as possible.
2017-12-04 15:51:59 +01:00
..
block_locator.ml Almost too late for copyright update. 2017-11-15 13:13:16 +01:00
block_locator.mli Shell: add configuration variable for various timeouts. 2017-11-17 14:13:55 +01:00
block_validator.ml Validator: always log invalid block 2017-11-27 10:40:43 +00:00
block_validator.mli Shell: enforce maximum operation size 2017-11-20 05:03:00 +01:00
bootstrap_pipeline.ml Node: Cleanup a few error messages. 2017-11-28 15:43:58 +01:00
bootstrap_pipeline.mli Shell: add configuration variable for various timeouts. 2017-11-17 14:13:55 +01:00
chain_traversal.ml Almost too late for copyright update. 2017-11-15 13:13:16 +01:00
chain_traversal.mli Shell: add docstrings for the validator. 2017-11-17 14:13:55 +01:00
chain.ml Shell: memorize the current list of live blocks and operations 2017-11-17 14:13:55 +01:00
chain.mli Shell: memorize the current list of live blocks and operations 2017-11-17 14:13:55 +01:00
distributed_db_functors.ml Fixes OSX select exception 2017-11-30 14:50:36 +01:00
distributed_db_functors.mli Shell: Remove net_id from the operation header. 2017-11-17 14:13:55 +01:00
distributed_db_message.ml Reset the chain. 2017-11-26 22:49:20 +00:00
distributed_db_message.mli Shell: remove unrequired net_id from network messages 2017-11-17 14:13:55 +01:00
distributed_db_metadata.ml Almost too late for copyright update. 2017-11-15 13:13:16 +01:00
distributed_db_metadata.mli Shell: add docstrings for the validator. 2017-11-17 14:13:55 +01:00
distributed_db.ml Node: allow invalid block errors to be stored 2017-11-27 10:40:40 +00:00
distributed_db.mli Shell: Remove net_id from the operation header. 2017-11-17 14:13:55 +01:00
jbuild Jbuilder: use --dev for running test and other minor improvments 2017-11-14 00:12:40 +01:00
mempool.ml Mempool: also broadcast 'branch_{delayed,refused}' operations 2017-11-17 14:13:55 +01:00
mempool.mli Mempool: also broadcast 'branch_{delayed,refused}' operations 2017-11-17 14:13:55 +01:00
net_validator.ml Node: Cleanup a few error messages. 2017-11-28 15:43:58 +01:00
net_validator.mli Shell: add configuration variable for various timeouts. 2017-11-17 14:13:55 +01:00
node_rpc_services.ml Import new version of vendors/ocplib-resto 2017-12-04 15:51:59 +01:00
node_rpc_services.mli Import new version of vendors/ocplib-resto 2017-12-04 15:51:59 +01:00
node_rpc.ml Import new version of vendors/ocplib-resto 2017-12-04 15:51:59 +01:00
node_rpc.mli Almost too late for copyright update. 2017-11-15 13:13:16 +01:00
node.ml Import new version of vendors/ocplib-resto 2017-12-04 15:51:59 +01:00
node.mli Node: listing of invalid blocks 2017-11-27 10:40:41 +00:00
peer_validator.ml Shell: add docstrings for the validator. 2017-11-17 14:13:55 +01:00
peer_validator.mli Shell/baker: inline full operation contents in RPC. 2017-11-17 14:13:55 +01:00
prevalidation.ml Shell: enforce maximum operation size 2017-11-20 05:03:00 +01:00
prevalidation.mli Shell: enforce maximum operation size 2017-11-20 05:03:00 +01:00
prevalidator.ml Shell: enforce maximum operation size 2017-11-20 05:03:00 +01:00
prevalidator.mli Fix spelling mistake 2017-11-27 10:40:39 +00:00
protocol_validator.ml Shell: use one 'validation worker' per peer. 2017-11-17 14:13:55 +01:00
protocol_validator.mli Shell: use one 'validation worker' per peer. 2017-11-17 14:13:55 +01:00
state.ml Node: listing of invalid blocks 2017-11-27 10:40:41 +00:00
state.mli Node: listing of invalid blocks 2017-11-27 10:40:41 +00:00
validator.ml Node: register error Validator.Inactive_network 2017-11-17 14:13:55 +01:00
validator.mli Shell: remove net_id from the block header. 2017-11-17 14:13:55 +01:00