Commit Graph

106 Commits

Author SHA1 Message Date
Grégoire Henry
87e0de9826 Dune: use the new syntax 2018-08-01 10:52:24 +02:00
Grégoire Henry
5362b321d9 Dune: rename s/jbuild/dune/ 2018-08-01 10:32:12 +02:00
Pietro
b89682e441 Build: Jbuilder -> Dune 1.0.1 2018-07-24 19:15:04 +02:00
Vincent Bernardoff
41f6757ef8 Everywhere: exception Not_found -> _opt 2018-07-13 01:31:04 +02:00
Pierre Boutillier
140bd6b1ca Tezos is now Open Source 2018-06-30 17:41:32 +02:00
dbornside
e7dba18980 semantic logging for client baking
AMENDED: Syn has always been DSL, Semantic has always been
Make_semantic.
2018-06-29 14:52:46 +02:00
Raphaël Proust
1c2a771832 Everywhere: return_{none,some,nil,true,false} 2018-06-27 10:57:21 +02:00
Raphaël Proust
103d5355f2 Everywhere: return_unit 2018-06-27 10:57:21 +02:00
Pietro
79b2a4e825 Client: wait for the node to be bootstrapped before injecting an operation 2018-06-23 03:12:33 +02:00
Vincent Bernardoff
4248738866 Client: substitute -force with --force 2018-06-20 16:59:20 +00:00
Vincent Bernardoff
4e4d96dae1 Client: remove tags 2018-06-20 10:50:01 +02:00
Raphaël Proust
16ea7da81d client base: spacing 2018-06-19 03:06:21 +02:00
Mathias
abc7b7338c Client: add method with_lock to wallet 2018-06-19 03:06:21 +02:00
Benjamin Canou
2976353636 Client: more caching of public keys 2018-06-17 00:07:58 +02:00
Benjamin Canou
66c9caedd6 Client: cache public keys to limit queries to remote/hardware signers 2018-06-16 21:12:53 +02:00
Vincent Bernardoff
8bc9695ad0 Client: add {sk,pk}_uri_param 2018-06-16 16:26:19 +02:00
Grégoire Henry
c2517a0432 Shell: minor renaming 2018-06-14 22:57:04 +00:00
Benjamin Canou
7ad44a9af3 Signer: support plain HTTP (no S) and a few cosmetic fixes 2018-06-14 18:22:51 +02:00
Grégoire Henry
5fd5c1c5f7 Dune: upgrade to 1.0+beta20 2018-06-08 15:27:23 +00:00
Grégoire Henry
5c9f8f00f4 Client: less RPC call while waiting for confirmations 2018-06-06 15:24:05 +02:00
Grégoire Henry
ca1d4158a7 Shell/RPC: add raw block header in monitoring RPCs 2018-06-06 15:24:05 +02:00
Grégoire Henry
632144b689 RPC: remove subfield accessors
This is painful to maintain and `jq` works well.
2018-06-06 10:54:33 +02:00
Grégoire Henry
ebc00b6463 Client/Alpha: display the "real" metadata when --wait is used 2018-06-06 10:54:33 +02:00
Grégoire Henry
64c464a73f Shell/RPC: some module renaming/aliasing 2018-06-06 10:54:33 +02:00
Grégoire Henry
bbf5c7408b Shell/RPC: split out Monitor_services 2018-06-06 10:54:33 +02:00
Grégoire Henry
d6f79edae2 Shell/RPC: rework /blocks
- start using `GET` and query parameters instead of `POST`  when
  meaningful

- inline parsed protocol data and metadata in block headers

- inline parsed protocol data and metadata in operations

- split the RPC in four categories:

  - static data, available explicitly in block headers and operations

  - static "metadata", information that were computed while validating
    a block or an operation, but which are not explicit in the block
    header (e.g. the baker of a block, the list of internal
    transfer... (currently not implemented, but that's WIP))

  - "context" all the static data we may read in the context
    (contracts balance, list of delegates, ...)

  - "helpers" are some RPC that may perform some computation.
2018-06-06 10:54:33 +02:00
Grégoire Henry
1f662dd53b Signer: add proper documentation to signer 2018-05-28 17:22:14 +02:00
Milo Davis
f644d8f332 Client: adds check signature command 2018-05-28 17:09:03 +02:00
Grégoire Henry
ee5373d960 Client: add global option --wait 2018-05-28 17:09:03 +02:00
Grégoire Henry
72e31287d1 Client/Alpha: split module Client_proto_context 2018-05-28 17:09:03 +02:00
Grégoire Henry
0d8990887c Jbuilder: fix the target @runtest_indent 2018-05-26 20:08:03 +02:00
James Deikun
2c57e4cce6 RPC: expose RPC base address in client context 2018-05-26 19:12:15 +02:00
Grégoire Henry
fd72b47263 Opam: fix dependencies 2018-05-26 18:36:32 +02:00
Grégoire Henry
da921a8f56 Client: allow tz1... as the source of a transfer
This is only useful when a 'remote signer' is available.
2018-05-26 15:36:36 +02:00
Grégoire Henry
f69d4a5186 Client: simplify Client_keys.SIGNER
We now use `Uri.t` to represent public and secret keys. The 'remote'
scheme is replaced by `https://`, `unix:///` and `tcp://`.
2018-05-26 15:34:16 +02:00
Grégoire Henry
80dd9ebf24 Client: rename sk_locator into sk_uri
To prepare upcoming patch where `sk_locator = Uri.t`.
2018-05-26 15:10:07 +02:00
Grégoire Henry
361b3db3e8 Signer: only accept B58encoded-pkh as parameters 2018-05-26 15:09:36 +02:00
Grégoire Henry
272066ab04 Client: Use MBytes.t for password
This prepares a future usage of `mlock`.
2018-05-26 15:06:39 +02:00
Grégoire Henry
664f36a46a Client: less restrictive type for Client_keys_commands.commands 2018-05-26 15:05:26 +02:00
Benjamin Canou
0a6f65263f Signer: add HTTPS variant 2018-05-26 15:05:14 +02:00
Pietro
73b7fc89a5 Client: introduce tezos-signer 2018-05-25 17:18:41 +02:00
Pietro
8b9d02eec4 Client, wallet: Change type of location 2018-05-25 17:18:39 +02:00
Grégoire Henry
5e17430815 Shell: allow to prefix signed data by a watermark 2018-05-25 16:47:48 +02:00
Marco Stronati
7d6da7179b Crypto: replace ocaml-tweetnacl with ocaml-hacl 2018-05-17 10:20:22 +02:00
Grégoire Henry
020ef19460 Client: add a claim operation that activate a commitment account 2018-04-17 10:50:23 +02:00
Arthur B
eb1dfb7f20 Shell/Alpha: allow usage of secp256k1 for signature 2018-04-16 18:37:52 +02:00
Grégoire Henry
3765c39477 Client: fix for issue #161.
Use proper parsing for `--delegate` argument.
2018-04-16 12:38:31 +00:00
Vincent Bernardoff
401eeceefb Client: fix error when signing with encrypted keys 2018-04-09 17:14:15 +02:00
Grégoire Henry
9ffead02d2 Shell: simplify hash signatures 2018-04-06 11:56:32 +02:00
Arthur B
21efb2dc9d Jbuilder: update to beta.19.1 2018-04-06 11:47:22 +02:00