Grégoire Henry
d34ca12240
Alpha: maintain a set of active delegates with rolls
2018-11-22 18:17:35 +01:00
Benjamin Canou
aebe8319d5
Alpha: fix tests w.r.t. the new origination policy
2018-11-22 18:17:35 +01:00
Benjamin Canou
a991396e10
Alpha: make origination cost for tz[123]s on par with KT1s
2018-11-22 18:17:35 +01:00
Grégoire Henry
09e3881c6b
Alpha/Vote: do not allow multiple votes
2018-11-22 18:13:54 +01:00
Marco Stronati
17b258b92c
Alpha/Tests: test for limit
2018-11-22 18:13:54 +01:00
Marco Stronati
278ffb5a17
Alpha/Vote: limit number of proposals per delegate to 20
2018-11-22 18:13:54 +01:00
Marco Stronati
249bbbcb6d
Alpha/Tests: add voting tests
...
Co-authored-by: Jun FURUSE <jun.furuse@dailambda.jp>
Co-authored-by: Marco Stronati <marco@stronati.org>
2018-11-22 18:13:53 +01:00
Jun FURUSE
09a8721598
Alpha/Vote: fix proposal voting to be stake propotional
...
Co-authored-by: Jun FURUSE <jun.furuse@dailambda.jp>
Co-authored-by: Marco Stronati <marco@stronati.org>
2018-11-22 18:13:53 +01:00
Marco Stronati
f1614414cc
Alpha/Vote: add RPCs to read voting state
...
Co-authored-by: Jun FURUSE <jun.furuse@dailambda.jp>
Co-authored-by: Marco Stronati <marco@stronati.org>
2018-11-22 18:13:53 +01:00
Grégoire Henry
c981391128
Alpha: fix indent
2018-11-22 18:13:53 +01:00
Benjamin Canou
6510869b73
Updater: registration or a protocol now returns the registered module
2018-11-22 18:07:07 +01:00
Vincent Botbol
32d2bf606d
Baker: fix documentation typo
2018-11-21 14:45:12 +01:00
Vincent Botbol
dfb10047ef
RPC/Shell: make list_blocks tail-rec
2018-11-20 16:57:31 +01:00
Lý Kim Quyên
eb673b19f2
fix the parser by adding the character 'b' into the case of warning instead of raise an error'
2018-11-19 21:37:54 +00:00
Vincent Bernardoff
9f5ebc659e
Client: add encrypt secret key
client command
2018-11-19 15:22:24 +00:00
Pierre Boutillier
991b39a2b5
Signer: Fix high watermarking
...
Fix 89372a8e28
2018-11-19 14:53:41 +01:00
Sebastien Mondet
2cd1be9ee9
Prompt for key validation from Ledger (importing)
2018-11-19 09:39:59 +01:00
Benjamin Canou
d3cdfca8e4
Fix OPAM dependencies
2018-11-16 14:04:55 +01:00
Sebastien Mondet
67ad47d054
Remove unused, duplicate function
...
The function `find_log_rules` in `src/bin_node/node_run_command.ml` is an older
duplicate of the one in `Logging_unix`.
2018-11-16 13:50:33 +01:00
Victor Allombert
9ecc2e517c
Shell/validator: allow standalone block validation
...
Co-authored with `Grégoire Henry <gregoire.henry@tezos.com>`
2018-11-16 11:40:58 +01:00
Pierre Boutillier
ede71b9e83
Baker: Fix nonces file cleanup
...
If it fails to fetch the metadata of a block it has a nonce for,
it drops the nonce.
2018-11-15 16:10:48 +00:00
Pierre Boutillier
8b839c9ad9
A port is an unsigned int16... (fix encoding)
2018-11-15 14:08:20 +01:00
Raphaël Proust
481772fc98
Mempool_worker: only introduce errors where they are needed
2018-11-14 09:08:26 +08:00
Raphaël Proust
f593677e99
Mempool_worker: error management at create
2018-11-14 09:08:22 +08:00
Benjamin Canou
89372a8e28
Signer: better high watermarking
2018-11-13 15:16:12 +01:00
Grégoire Henry
3f04501c0d
Shell: less optimistic heuristic for head change
2018-11-13 13:35:23 +00:00
Grégoire Henry
966c86def2
Shell: export fitness of the current mempool
2018-11-13 13:35:23 +00:00
Pietro
6a83898d98
Base: Add block header docstring
2018-11-12 15:25:45 +00:00
Benjamin Canou
494a4be140
Client: cleanup runtest_contracts.sh and remove attic tests
2018-11-12 11:30:35 +01:00
b
87be7df584
Client: rm attic/fail.tz (duplicate from macros/fail.tz) & improve TODO messages
2018-11-12 11:30:34 +01:00
b
e8fd44dca4
Client: reorg Michelson contracts + update bash scripts
2018-11-12 11:30:33 +01:00
b
ff468aac68
Client: reorg Michelson test contracts and bash scripts (mini_scenarios, pt2)
2018-11-12 11:30:33 +01:00
b
2f58e86fa8
Client: reorg Michelson test contracts and bash scripts (macros, pt2)
2018-11-12 11:30:32 +01:00
b
3c1f5702e1
Client: reorg Michelson test contracts and bash scripts (opcode, pt2)
2018-11-12 11:30:31 +01:00
b
015c5ed694
Client: reorg Michelson test contracts and bash scripts (attic, pt2)
2018-11-12 11:30:31 +01:00
lykimquyen
291e3f06a3
Tests: reorganise Michelson tests
2018-11-12 11:30:30 +01:00
lykimquyen
6ee47d63c0
Tests: split Michelson tests into category attic
2018-11-12 11:30:29 +01:00
lykimquyen
8d09fffbab
Tests: split Michelson tests into category mini_scenarios
2018-11-12 11:30:29 +01:00
lykimquyen
a37a1f49f7
Tests: split Michelson tests into category macros
2018-11-12 11:30:28 +01:00
lykimquyen
e719f401f6
Tests: split Michelson tests into category opcode
2018-11-12 11:30:27 +01:00
Vincent Bernardoff
56fa339937
Signer: remove socket on all more termination signals
2018-11-09 13:04:40 +00:00
Vincent Bernardoff
d1c46b5cf2
Signer: add other remote signers
...
For redundancy purposes, there is no reason why a remote signer could
not sign with other remote signers. This patch adds remote signers
support for signers.
2018-11-09 13:04:40 +00:00
Pietro Abate
0b08fcfa2c
Shell: introduce Mempool_worker
...
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: MBourgoin <mathias.bourgoin@tezcore.com>
2018-11-08 01:19:56 +01:00
Grégoire Henry
e02b166b84
Baker/Nonces: fix reveal nonces
2018-11-07 21:50:19 +01:00
Grégoire Henry
e966d2784e
Baker/Nonces: use Block_hash.Map.t
instead of association list
2018-11-07 21:50:18 +01:00
Vincent Botbol
2e2a40b331
Alpha/Client: also prevent the client from parsing n times the nonces
2018-11-07 21:50:18 +01:00
Vincent Botbol
ca1b05e514
Baker: small refactoring
2018-11-07 21:50:17 +01:00
Vincent Botbol
3b33fe1709
Baker/Nonces: on new cycles, clear 5 cycles old nonces from the file
2018-11-07 21:50:17 +01:00
Vincent Botbol
eda9d8c37f
Baker/Nonces: improve nonces file reading
2018-11-07 21:50:13 +01:00
MBourgoin
527a2fb621
Client/Context_unix: load_file print error
2018-11-07 15:48:18 +01:00
MBourgoin
e35e263fd6
Client/Context_unix: code style
2018-11-07 15:48:16 +01:00
Paul Laforgue
3441a85ff3
Add annotations for inspecting values with ASSERT_SOME, ASSERT_LEFT, ASSERT_RIGHT
2018-11-06 16:04:01 +00:00
Raphaël Proust
5400984c36
Fix CI: remove unneeded open
s
2018-11-06 12:54:10 +00:00
Benjamin Canou
536e64d93f
Mempool: add simple limits to the mempool
2018-11-06 12:54:10 +00:00
Julien Tesson
532a934438
bin_node: sanity check on node identity file
2018-11-05 15:24:13 +01:00
Julien Tesson
0c9812f881
lib_crypto: Adding pretty printer for public keys
2018-11-05 15:24:13 +01:00
Julien Tesson
71e708830d
lib_crypto: export neuterize and public_key equality
2018-11-05 15:24:12 +01:00
Pierre Boutillier
1e5c6da307
Fix bc37fde73e
: Restore compatibily with (old) identity.json that does not contain a peer_id
2018-11-05 15:24:10 +01:00
MBourgoin
255d9e4ff7
Shell/Distributed_db: make initial request delay depend on resource kind
2018-11-05 15:08:19 +01:00
Philippe Bidinger
4d9a7e6bbd
Alpha client: added 'get receipt' command
...
tezos-client get receipt for operation_hash [--check-previous n]
This looks up an operation in past blocks and prints the
receipt if the operation is found. Lookup starts from head
up to n (default 10) past blocks.
2018-11-05 12:58:48 +00:00
Vincent Botbol
14b1ba2adc
Stdlib/Ring: fix ring's semantics
2018-10-26 15:56:36 +02:00
Vincent Bernardoff
f898062fd4
Signer: add handler.mli
2018-10-26 11:33:19 +00:00
Benjamin Canou
203c212bcc
Micheline: fix printer for code that exceeds 80 columns
2018-10-26 12:06:03 +02:00
MBourgoin
0392284716
Shell/Peer_metadata: change counters to aribtrary precision integers
2018-10-24 22:15:38 +00:00
Victor Allombert
9d34bd6f16
RPC: minor changes and add genesis+N
2018-10-24 21:41:08 +00:00
Victor Allombert
60a6b76229
RPC: add a hash+N and a hash-N notations
2018-10-24 21:41:08 +00:00
Victor Allombert
2352a78301
RPC: add a way to access a given block using its level
2018-10-24 21:41:08 +00:00
Vincent Botbol
bb6983590f
Shell: fix notification of new operations in the mempool
2018-10-24 18:02:38 +02:00
Mathias Bourgoin
1272b11ea2
Shell: first batch of statistics in the DistributedDB
...
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Mathias Bourgoin <mathias.bourgoin@tezcore.com>
2018-10-24 11:48:12 +02:00
Victor Allombert
ee640c8653
Shell: Extract the block-application function into a separate module
2018-10-24 10:51:33 +02:00
Raphaël Proust
7cbfcfa608
Shell: simplify the signature of Prevalidation
...
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Grégoire Henry <gregoire@tezcore.com>
2018-10-22 14:46:37 +02:00
Sebastien Mondet
02bc43b094
Target only USB ledger with interface number 0
2018-10-21 16:27:14 -04:00
Vincent Botbol
e61de64474
Admin/P2P: update the admin client commands for the new RPCs
2018-10-17 15:06:36 +02:00
Vincent Botbol
b6bb16caf1
Admin/P2P: remove forget peer/address RPC, introduce untrust & unban peer/address.
2018-10-17 15:06:35 +02:00
Vincent Botbol
f4a368f81e
RPC: replace return ()
with return_unit
2018-10-17 15:06:35 +02:00
Vincent Botbol
c631de08f9
Admin/P2P: use the same IP:PORT notation as the node
2018-10-17 15:06:35 +02:00
Vincent Botbol
57fa653c5e
Admin/P2P: register forget and kick RPC
2018-10-17 15:06:34 +02:00
Vincent Botbol
705a779d76
Admin: add an "unmark all" invalid blocks command
2018-10-17 15:06:34 +02:00
Vincent Botbol
8e7da9281e
Admin: improve documentation
2018-10-17 15:06:33 +02:00
Raphaël Proust
bd116f3db7
Prevalidator: move Prevalidation RPCs in Prevalidator
2018-10-17 17:06:08 +08:00
Grégoire Henry
45a07d534f
Shell: fix error messages
2018-10-17 17:02:05 +08:00
Raphaël Proust
c4e65879fc
Prevalidator/Prevalidation: move existential
...
Note that now, the chain_validator is responsible for swapping the
prevalidator when a new protocol arrives.
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Grégoire Henry <gregoire.henry@tezos.com>
2018-10-17 17:01:44 +08:00
Raphaël Proust
129caccf4e
Shell/worker: export functor result signature
2018-10-17 10:32:37 +02:00
Pietro Abate
8b8b355bd3
Add Registry to stdlib
...
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
2018-10-17 10:32:35 +02:00
Raphaël Proust
e02ba41a65
Tooling: do not enter _opam when fixing indent
2018-10-10 18:49:09 +02:00
Vincent Botbol
8d2e302f1a
Alpha/Baker: add a context's consistency check before starting the baker
2018-10-10 17:01:12 +02:00
Benjamin Canou
a475ef701a
Alpha: refactor Tez_repr tests a bit to integrate them with others
2018-10-10 16:08:16 +02:00
lykimquyen
a250198cfb
Alpha: move the test of Tez_repr in test_michelson_parser into a new separate test
2018-10-10 16:08:12 +02:00
Vincent Botbol
d93d2a9b65
Alpha/Baker: dissociate overflowing ops from the set of wished operations
2018-10-08 12:26:46 +02:00
Alex Stokes
8490e01b07
Fix typo in compiler.ml
2018-10-06 06:15:55 +00:00
Benjamin Canou
0feb5bd07a
Signer: fix animals test
2018-10-04 17:13:29 +02:00
Benjamin Canou
3eeea7c1af
Client: cleanup some output
2018-10-04 15:28:23 +02:00
Vincent Bernardoff
4fa4ab0b8f
Ledger: add support for animal names in URI
2018-10-04 15:28:22 +02:00
Arthur B
0b7155ca91
Cuteness: method for naming hashes, produces 137e9 possibilities
2018-10-04 15:28:20 +02:00
Vincent Bernardoff
4bb28cd285
Ledger: implement authorized-path APDU
2018-10-03 14:08:39 +02:00
Vincent Bernardoff
92715a005b
Ledger: implement git-commit APDU
2018-10-03 14:08:37 +02:00
Vincent Botbol
31d207f52e
Baker: improve logging
2018-10-02 15:27:12 +02:00
Vincent Botbol
a68124dfc0
Encoding: handle invalid utf8 sequences
2018-10-01 15:31:41 +02:00
Vincent Botbol
d5e0c1c51f
Clic: fix indentation
2018-09-26 11:14:37 +02:00
Benjamin Canou
5167f7b298
Clic: minor internal types cleanup
2018-09-25 10:45:20 +02:00