Commit Graph

5810 Commits

Author SHA1 Message Date
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
Grégoire Henry
fbd97da7b4
Opam: add upper constraint on cstruct 2019-02-19 17:37:54 +01:00
Grégoire Henry
9fdf0636c9
Opam: add upper constraint on dune
The "old" version of Lwt we use is incompatible with `dune >= 1.7`.
2019-02-19 17:37:52 +01:00
Victor Allombert
cf3390448a Lib_client_base: add branch option to wait for confirmation command 2019-02-19 12:56:11 +00:00
Raphaël Proust
d30894b2f9
Proto_alpha/forge: more consistent style 2019-02-19 13:19:56 +01:00
Raphaël Proust
e956c1f7bf
Proto_alpha/forge: simplify error management 2019-02-19 13:19:52 +01:00
Jeremy Bae
5ed2ac3f90
Add Vim swap files to .gitignore 2019-02-19 13:16:45 +01:00
Pietro Abate
7c59d32a4b Client: emit exit 1 when operation receipt is not found 2019-02-19 08:20:23 +00:00
Grégoire Henry
cb0b8f63b1 Shell: properly handle Unix_error while validating blocks 2019-02-15 19:49:47 +00:00
Sebastien Mondet
fd2c043a5d Return proper error message in ocp-resto/client 2019-02-14 11:22:52 -05:00
Marco Stronati
27c5bc86c0
Doc: add client voting commands 2019-02-11 15:24:16 +01:00
b
9026903850
Doc: update stack exchange status 2019-02-06 09:57:12 +01:00
Pierre Boutillier
136f16de14
Build-deps update imposed by uri.2.1.0 change in place 2019-02-01 21:38:46 +01:00
Xavier Clerc
d77331bbda v0.12-preview.120.21+190 2019-02-01 10:07:38 +00:00
Pietro Abate
c66623d0a7 Worker: register Closed error globally 2019-02-01 07:24:34 +00:00
Pietro Abate
e46b0746d5 Tests: improve test_multinode.sh 2019-02-01 07:12:39 +00:00
Philippe Wang
33adb497fb Update howtorun.rst 2019-02-01 05:48:48 +00:00
Philippe Wang
3c1601d9a0 Update tezos-init-sandboxed-client.sh 2019-02-01 05:36:37 +00:00
Philippe Wang
061ec54513 Update index.rst 2019-02-01 05:23:59 +00:00
MBourgoin
d6b8bd7887
Client: typo 2019-01-30 17:35:56 +01:00
MBourgoin
4e50c7a454
Proto_alpha/Endorser: add minimal documentation to client_baking_endorsement.mli 2019-01-30 12:16:23 +01:00
Dzmitryi Rudkouski
9c22170aef
CI: add versioned docker images 2019-01-30 12:10:15 +01:00
Pierre Boutillier
7bcd3892b7
Reify the git environment at compile time into the code
Use it to output a minimal `./tezos-node --version`

Works both when you compile inside a git repository or from an
archive generated by `git archive` (which is what gitlab does when
you click on "Download zip/tar.gz/tar.bz2" in the web interface)
2019-01-30 12:05:15 +01:00
Philippe Wang
a35f7a0de5 Update howtouse.rst: use comma instead of dot for thousand separators 2019-01-30 01:31:41 +00:00
Pierre Boutillier
677d2ae9d6 Synchronize (and fix) maximal size of lmdb dbs
Store can now be up to 40 Go large (was 4 To!)
Context can now be up to 400 Go large (was 40 Go)
2019-01-29 19:23:48 +00:00
Pierre Boutillier
98076324bf
Improve make build-deps after a tezos-opam-repository update
First this patch makes build-deps non interactive as it should be.
More importantly, it changes the optimization problem sent to the
opam solver (and that may be a big deal).

By default the criteria is `-removed,-changed,-notuptodate`.

-changed is problematic because it means that if a dependency
has been updated in tezos-opam-repository but all tezos packages
are fine with the one currently installed, it is not changed (but
as we observe now there might still be in fact packages with
undeclared incompatible with this old version)!

-remove is also problematic because what we would like to say is
"minimize the number of removed 'root' packages" we don't care to
remove packages automatically installed and not necessary anymore
(especially when they don't compile anymore with updated version of
their deps...)

So... I reversed order in the criteria. I'm sure this is what I want
when the opam switch contains only tezos-opam-repository but
unexpected upgrades occur for devs that have done a
`opam repo add default --rank=-1`...
2019-01-29 15:46:45 +01:00
Tom Jack
9fe22ef56c
Storage: optimize fold 2019-01-29 11:28:51 +01:00
Grégoire Henry
4026d6ab58
Client: improve logging on protocol injection 2019-01-24 14:09:19 +01:00
Marco Stronati
b09e89f9f3
Client: fix validation of proposals before submission
for a proposal to be valid it must either a protocol that was already
proposed by somebody else or a protocol known by the node, because the
user is the first proposer and just injected it with
tezos-admin-client
2019-01-24 14:09:18 +01:00
Marco Stronati
344f8d3e5f
Client: fix output of show voting period 2019-01-24 14:09:16 +01:00
Pietro Abate
4d3174c557
Shell: Catch Lwt.Canceled during worker termination 2019-01-24 13:43:37 +01:00
Grégoire Henry
b5515ea99e
Shell: continue better logging 2019-01-24 13:43:36 +01:00
Pietro Abate
5915e98a55
shell: Better Logging 2019-01-24 13:31:59 +01:00
Pietro Abate
b5499b37d5
Shell: Catch timeout errors and improve reporting 2019-01-24 13:29:59 +01:00
MBourgoin
80587889d5 Client: make operation hash messages consistent (fix bug in test_multinode.sh) 2019-01-24 10:08:27 +00:00
Blindripper
5eb81f29a3 Further "Ledger Live" and Betanet -> Mainnet changes - Update various.rst 2019-01-23 22:35:42 +00:00
Blindripper
58563cc15a Replaced Ledger Chrome extension with Ledger Live - update various.rst 2019-01-23 22:17:20 +00:00
Pierre Boutillier
03fc4b2e33
fixup 242c97d1 ocplib-json-types: 'Variable defintion path in json_schema' 2019-01-23 13:12:42 +01:00
Pierre Boutillier
7335d95308
ocplib-json-typed: inline records have been introduiced in OCaml 4.03 2019-01-22 23:17:54 +01:00
Pierre Boutillier
242c97d1f1
ocplib-json-typed: import ' Variable defintion path in json_schema' from upstream
It is upstream acfb41f711cbda67680b84d0f8292e2a1849c711
2019-01-22 23:17:54 +01:00
Pierre Boutillier
a10b7dc5b5
ocplib-json-typed: Makefile update for dune
We don't care as we're not using the Makefile directly but:
dune: --dev is no longer accepted as it is now the default.
2019-01-22 23:17:53 +01:00
Pierre Boutillier
8012bdca65
ocplib-json-typed: follow upstream file organization 2019-01-22 23:17:53 +01:00
MBourgoin
464de6d6b8
Client: improve password file reading 2019-01-22 18:52:43 +01:00
MBourgoin
dc67e93907
Client: update copyrights 2019-01-22 18:52:42 +01:00
Pietro
1c0561ee53
Client: add new password-file command line option
- add new global command line argument to the signer
  -f --password-file <filename>: Absolute path of the password file
- add password_filename to wallet context
2019-01-22 18:52:40 +01:00
Grégoire Henry
28238fce9e
Deps: add an opam update 2019-01-22 18:07:50 +01:00
Pierre Boutillier
28da6ef03b
Deps: be compatible with Js_of_ocaml.3.3.0
It now uses dune and "wraps" its library.
2019-01-22 17:16:52 +01:00