Commit Graph

2628 Commits

Author SHA1 Message Date
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
Grégoire Henry
8f263d4da0
CI/Opam: fixup script 2019-01-22 17:16:52 +01:00
Grégoire Henry
96aa1aa621
Opam: add version contraint for lwt. 2019-01-22 17:16:51 +01:00
Grégoire Henry
c5eb5bb93d
Opam: add strict dependencies for ocp-indent 2019-01-22 17:16:50 +01:00
Grégoire Henry
c574d91928
Deps: be compatible with ipaddr.3.0.0 2019-01-22 17:16:50 +01:00
Grégoire Henry
b2844ff89f
Opam: use updated build deps 2019-01-22 17:16:48 +01:00
Grégoire Henry
dbf4736e6b
Opam: update package description to opam.2.0
Co-authored-by: Pietro Abate <pietro.abate@nomadic-labs.com>
Co-authored-by: Gregoire Henry <gregoire.henry@tezos.com>
2019-01-21 17:54:19 +01:00
Grégoire Henry
de171a63f0
OPAM: strict version constraints on dune are not required anymore 2019-01-21 17:54:18 +01:00
Eugen Zalinescu
1a7cf2fead
proto_genesis: remove the dependency on proto_alpha 2019-01-10 17:04:23 +01:00
Tom Jack
55d79bfd7a Doc: transactions use at least 10100 gas 2019-01-08 16:12:03 +00:00
Tom Jack
86e355c32e Client: fix fee calculation 2019-01-08 15:55:19 +00:00
Benjamin Canou
6f07a25a3c
Revert protocol Alpha to 003-PsddFKi3 2019-01-07 15:12:42 -05:00
Raphaël Proust
fd6ce36a7d Everywhere: use return_*
for * in unit none some true false
2019-01-03 12:21:17 +00:00
Raphaël Proust
1767fcc861 Proto: use return_*
for * in unit none some true false
2019-01-03 12:21:17 +00:00
Benjamin Canou
618082ed18 Client: cosmetic updates in voting commands 2019-01-03 10:23:15 +00:00
Marco Stronati
cacd3826e4 Client: tweak 'show voting period', add rpc to test, check right period 2019-01-03 10:23:15 +00:00
Marco Stronati
8016f83903 Client: cosmetic or minor improvements 2019-01-03 10:23:15 +00:00
Jun FURUSE
f8d8c4d6e9 Client: check that proposals are already injected 2019-01-03 10:23:15 +00:00
Jun FURUSE
e0a8718922 Client: add voting commands
tezos-client show votes  to show the current voting status
tezos-client submit proposals for PKH PROP1 ..  to submit proposals
tezos-client submit ballot for PKH PROP yay|nay|pass  to submit a ballot
2019-01-03 10:23:15 +00:00
Raphaël Proust
7e81fe6c9c Shell/mempool: pretty-printing 2019-01-02 23:50:35 +00:00
Raphaël Proust
c02a970a28 Shell/mempool: handle failure to re-instantiate prevalidator
When the protocol changes, the prevalidator is re-instantiated. In case
this fails, the old-prevalidator still needs to be shutdown.
2019-01-02 23:38:02 +00:00
Pietro Abate
cd25bb4160 Shell: Worker initialization in error monad
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Mathias Bourgoin <mathias.bourgoin@tezcore.com>
2019-01-02 23:38:02 +00:00
MBourgoin
cdbe65d940 Docs: replace "block-chain" with "blockchain" 2019-01-02 19:22:59 +00:00
Sebastien Mondet
c994428f77 Hide Ledger's “191-warning” on both Linux & MacOSX 2019-01-02 19:11:53 +00:00
Pierre Boutillier
cb038afa42 Revert "Target only USB ledger with interface number 0"
This reverts commit 02bc43b094 and
should restore compatibility with Ledgers on MacOS.
2019-01-02 19:11:53 +00:00
Philippe Bidinger
6895d7a87b
Stdlib: add some docstrings 2019-01-02 19:22:09 +01:00
Eugen Zalinescu
febaa3b7ed voting: 3 new small tests 2019-01-02 17:07:34 +00:00
Sebastien Mondet
8b054deee3
Signer/Ledger: improve tezos-client show ledger command 2019-01-02 17:50:37 +01:00