Grégoire Henry
0e79a65158
Shell: rename Block_header.proto/data
into protocol_data
2018-02-18 17:11:13 +00:00
Milo Davis
67b3338907
Client: update typecheck program flags and michelson mode
2018-02-17 20:42:03 -05:00
Benjamin Canou
bb0fa86d91
Client: rename client context classes for clarity
2018-02-16 18:12:29 +01:00
Vincent Bernardoff
54e96092b4
Client: add encrypted
signature scheme
2018-02-16 18:12:29 +01:00
Benjamin Canou
67019246e9
Client: add method prompt to context and cleanup Unix context
2018-02-16 11:08:45 +01:00
Vincent Bernardoff
dfeb96842a
Crypto: add Secretbox
2018-02-16 11:08:45 +01:00
Vincent Bernardoff
28adbb5814
Utils: add getpass
2018-02-16 11:08:45 +01:00
Grégoire Henry
6fa1283240
Shell: Rename net_id
into chain_id
2018-02-16 02:57:25 +01:00
Benjamin Canou
e2be3360a9
Client: split client-alpha into lib and commands and extract the baker
2018-02-15 22:54:39 +01:00
Benjamin Canou
a55a60c59b
Client: proper error on unknown global flag
2018-02-15 19:59:50 +01:00
Benjamin Canou
a1984ee090
Client: fix minor display glitches
2018-02-15 19:59:50 +01:00
Benjamin Canou
dd1b200306
Client: split client-base into client-base and client-commands
2018-02-15 19:59:50 +01:00
Benjamin Canou
7e6a4a5333
Client: minor refactoring
2018-02-15 18:21:18 +01:00
Benjamin Canou
c66f9b7733
Remove dangling jbuild file
2018-02-15 18:21:18 +01:00
Benjamin Canou
345bbc715d
Client: move protocol injection commands to the admin client
2018-02-15 18:21:18 +01:00
Benjamin Canou
bacb55800d
Client: split Client_commands into Client_commands and Client_context
2018-02-15 18:21:18 +01:00
Benjamin Canou
cafcaf925b
Client: cleanup admin commands
2018-02-15 18:21:18 +01:00
Benjamin Canou
a14616517e
Client: split client-base modules into functions / commands
2018-02-15 18:21:18 +01:00
Benjamin Canou
b3066d6a24
Client: remove Unix dependencies from client-base and client-alpha
2018-02-15 18:21:15 +01:00
Benjamin Canou
d983f601a6
Client: add --long and -s(hort) options
2018-02-15 18:20:45 +01:00
Benjamin Canou
3729e4f3ce
Client: restore alias autocompletion
2018-02-15 18:20:45 +01:00
Benjamin Canou
42566e9dcd
Client: move Unix out of Cli_entries and a bit of output cleanup
2018-02-15 18:20:42 +01:00
Benjamin Canou
2c2f0a1818
Cli_entries: export formatter setup functions
2018-02-15 18:19:17 +01:00
Benjamin Canou
a830c29185
Cli_entries: more docstrings
2018-02-15 18:19:17 +01:00
Vincent Bernardoff
62f436eda9
Base: use Re_str
instead of non-thread-safe library Str
2018-02-15 18:19:17 +01:00
bruno
227232e6c7
Shell: delete duplicated functor
2018-02-15 17:38:19 +01:00
Vincent Bernardoff
f8ded9ca28
Comparable: add Make
2018-02-15 17:36:42 +01:00
Grégoire Henry
322fc1e353
RPC: move p2p services registration in tezos-p2p
2018-02-15 00:29:15 +01:00
Pietro
c67e6d4b04
Client/test: Add shell script to test protocol injection
2018-02-14 11:48:33 +01:00
Pietro
4d9f440aae
Fix protocol injection
...
- Rename Tezos_protocol_compiler_native__Registerer
- Pass module without extension to the compiler
2018-02-13 15:02:32 +01:00
Grégoire Henry
515765926f
Shell/test: minor fix in Test_locator
2018-02-13 13:25:49 +01:00
bruno
4fa11bdf28
Error_monad: improve error message for unrecognized errors
2018-02-13 13:24:54 +01:00
Grégoire Henry
77bd0af3d1
Shell/test: add option to not enforce context hash in block header
2018-02-12 16:59:59 +01:00
Grégoire Henry
7643fa9b15
Alpha: split Services/Services_registration
and Client_proto_rpcs
2018-02-12 16:56:59 +01:00
Grégoire Henry
e4cde4c196
Client: introduce an alternative context alpha's commands
2018-02-12 16:56:59 +01:00
Grégoire Henry
d539072f1b
Proto/env: export RPC_context
2018-02-12 16:56:59 +01:00
Grégoire Henry
4a1da9407e
Client/test: minor code simplification
2018-02-12 16:56:59 +01:00
Grégoire Henry
3b95f77225
Alpha: split Tezos_hash
multiple source files
2018-02-12 16:56:59 +01:00
Grégoire Henry
5fff7b3c1b
Alpha: rename Tezos_context
-> Alpha_context
2018-02-12 16:56:59 +01:00
Grégoire Henry
6a5a235d42
Client refactor: Proto_alpha.Environment
-> Alpha_environment
2018-02-12 16:56:59 +01:00
Grégoire Henry
91143452e3
Proto/env: allow some Lwt
in the construction of rpc_context
2018-02-12 16:54:08 +01:00
Grégoire Henry
82530eeb29
Proto/env: export *_hash.zero
2018-02-12 16:54:08 +01:00
Grégoire Henry
2c90308caf
Client refactor: Client_proto_rpcs.block
-> Block_services.block
2018-02-12 16:54:08 +01:00
Grégoire Henry
83307c6de0
Client: more open #full_context
2018-02-12 16:54:08 +01:00
Grégoire Henry
29e1735115
Client: add Cli_entries.map_command
2018-02-12 16:54:08 +01:00
Grégoire Henry
0bd31b0c38
Client refactor: remove last bits of lib_client_base/client_rpcs.ml
...
Split between `lib_rpc_http/RPC_client` and
`lib_shell_services/Block_services`.
2018-02-12 16:54:08 +01:00
Grégoire Henry
db1f134e45
Client refactor: use the error_monad for all RPC services (protocol)
2018-02-12 16:54:08 +01:00
Grégoire Henry
66c2a60530
Client refactor: use the error_monad for all RPC services
2018-02-12 16:54:08 +01:00
Grégoire Henry
a70a0788d3
Test: quick and dirty port to alcotest
2018-02-12 02:09:00 +01:00
Grégoire Henry
24fe0cc02c
opam: fix package description
2018-02-11 20:03:52 +01:00
Grégoire Henry
4d69404049
Proto/env: move signature from Updater
to Protocol_environment
2018-02-11 19:45:40 +01:00
Grégoire Henry
c9822abab7
Resto: minor simplification (remove RPC_service.map
)
2018-02-11 19:45:40 +01:00
Grégoire Henry
0f0ec6ab7a
Jbuilder: fix dependencies in the tezos-compiler
hack
2018-02-11 19:17:39 +01:00
Grégoire Henry
d417a679e6
Alpha/test: fix symbolic link
2018-02-11 19:17:38 +01:00
Grégoire Henry
f6b55fa46d
Test: fix manual execution of ./test-basic.sh
2018-02-11 19:17:38 +01:00
Grégoire Henry
0e675c2d16
Client refactor: add calling function in Worker_services
2018-02-08 17:23:30 +01:00
Grégoire Henry
1858bdd852
Client refactor: Move Client_node_rpcs
into Shell_services
2018-02-08 17:23:30 +01:00
Grégoire Henry
21789be756
Client refactor: Move Client_node_rpcs.Protocols
into Protocols_services
2018-02-08 17:23:30 +01:00
Grégoire Henry
37e65d93e7
Client refactor: Move Client_node_rpcs.Network
into P2p_services
2018-02-08 17:23:30 +01:00
Grégoire Henry
02c2035e93
Client refactor: Move Client_node_rpcs.Block
into Block_services
2018-02-08 17:23:30 +01:00
Grégoire Henry
db500b5ebd
RPC_service: hide the 'error type parameter
2018-02-08 17:23:30 +01:00
Grégoire Henry
5c2ba214f0
Client refactor: Move handling of unix error from Error_monad
to stdlib-unix
2018-02-08 17:23:30 +01:00
Grégoire Henry
41d30777a6
Client refactor: remove Utils.read_file
...
2018-02-08 17:23:30 +01:00
Grégoire Henry
1f0c10bc6f
Client refactor: Rename stdlib-lwt
into stdlib-unix
2018-02-08 17:23:30 +01:00
Grégoire Henry
484b5b5b08
Client refactor: move stdlib_lwt
out of base
2018-02-08 17:23:30 +01:00
Grégoire Henry
84d8ae9222
Client refactor: Move Data_encoding_ezjsonm.read_file
into Lwt_utils_unix
2018-02-08 17:23:30 +01:00
Grégoire Henry
24c6f4ea98
Client refactor: Move Lwt_utils_unix.protect
into Error_monad
2018-02-08 17:23:30 +01:00
Grégoire Henry
7dc52dcf10
Client refactor: Move Lwt_Exit
into base
2018-02-08 17:23:30 +01:00
Grégoire Henry
27ae0591b1
Client refactor: Move Cli_entries
into base
2018-02-08 17:23:30 +01:00
Grégoire Henry
8c58d7a610
Client refactor: Move non-unix part of Data_Encoding_Ezjsonm
into Data_Encoding.Json
2018-02-08 17:23:30 +01:00
Grégoire Henry
c55181273c
Client refactor: Move non-unix depend modules of stdlib-lwt
into stdlib
2018-02-08 17:23:29 +01:00
Grégoire Henry
154b932713
Client refactor: Remove usage of Lwt_unix
from Lwt_dropbox
2018-02-08 17:23:29 +01:00
Grégoire Henry
8f7f205031
Client refactor: Remove usage of Lwt_unix
from Lwt_pipe
2018-02-08 17:23:29 +01:00
Grégoire Henry
7a3277e625
Client refactor: Move part of Logging
into Logging_unix
2018-02-08 17:23:29 +01:00
Grégoire Henry
f61eed1a67
Client refactor: move part of Lwt_utils
in Lwt_utils_unix
2018-02-08 17:23:29 +01:00
Grégoire Henry
f22b3576d2
Client refactor: simpler dependencies in tezos-crypto
2018-02-08 17:23:29 +01:00
Grégoire Henry
2f295a3af8
P2p: less types in lib_base
...
Let's only have types required for the RPCs.
2018-02-08 17:23:29 +01:00
Marco Stronati
67ac4d8f5c
Protocol: change external to val in zarith protocol env
2018-02-08 15:28:32 +00:00
Marco Stronati
3ca9a081f9
Locator: added extended test with benchmark
2018-02-08 15:18:11 +00:00
Marco Stronati
d05dceb0b0
State: export predecessor_n
2018-02-08 15:18:10 +00:00
Marco Stronati
f8e69ac8f5
Locator: added test for size 0 and size larger than chain
2018-02-08 15:18:09 +00:00
Marco Stronati
0890034575
State: removed old linear predecessor
2018-02-08 15:18:09 +00:00
Marco Stronati
f62ce16e5c
Locator: rewrote compute to use efficient predecessor from state
2018-02-08 15:18:09 +00:00
Marco Stronati
95a4ede273
State: added function to get predecessor at any distance
2018-02-08 15:18:08 +00:00
Marco Stronati
738310df62
State: added a function to populate the predecessors storage
2018-02-08 15:18:08 +00:00
Marco Stronati
eaf2103967
Storage: added a dedicated store for predecessors under /block/
2018-02-08 15:18:08 +00:00
Benjamin Canou
75f4946072
Alpha: remove unused function
2018-02-07 12:24:01 +01:00
Grégoire Henry
acffadafae
Jbuilder: fix warning
2018-02-07 11:16:39 +01:00
Vincent Bernardoff
e1d1292c09
Crypto: drop libsodium
...
We now use simpler OCaml bindings much easier to review.
2018-02-07 11:16:39 +01:00
Benjamin Canou
8bec8b7b9c
Michelson: add isolate test for big maps
2018-02-06 17:04:49 +01:00
Benjamin Canou
5ae24aa7a3
Scripts: repair tezos-autocomplete, and make it work with emacs and zsh
2018-02-06 17:04:49 +01:00
Benjamin Canou
0352278621
Emacs: repair Michelson parsing error reporting
2018-02-06 17:04:49 +01:00
Milo Davis
79472c727a
Michelson: introducing big maps, limited edition
...
Quick and dirty (yet safe, of course) implementation of lazily
deserialized maps for storing large collections of indexed data.
Only one big_map is allowed, as the left component of the toplevel
storage pair.
Review and bugfixes: Benjamin Canou <benjamin@canou.fr>
2018-02-06 17:00:54 +01:00
Benjamin Canou
3d0ec5deb4
Michelson: remove instruction MAP on sets
2018-02-06 16:32:30 +01:00
Grégoire Henry
575e367026
Update copyright notice (2018)
2018-02-05 23:34:05 +01:00
Grégoire Henry
e28219ad60
Opam: update to jbuilder.1.0+beta17
2018-02-05 23:34:05 +01:00
Grégoire Henry
c4c375dfc2
Proto_alpha/test: module renaming
2018-02-05 23:34:05 +01:00
Grégoire Henry
c6bf7d78b6
Proto_alpha/test: split tests.
2018-02-05 23:34:05 +01:00
Grégoire Henry
7929027793
Proto/test: do not depend on shell
...
For the test suite we only use the in-memory context.
2018-02-05 23:34:05 +01:00
Grégoire Henry
a6ab12e701
Context: add an alternative in-memory only implementation
2018-02-05 23:34:05 +01:00