Commit Graph

3286 Commits

Author SHA1 Message Date
Pierre Boutillier
991b39a2b5
Signer: Fix high watermarking
Fix 89372a8e28
2018-11-19 14:53:41 +01:00
jansorg
1d204cd83c
Script: return a container name when it's not running.
Do status checks in the same way.
2018-11-19 09:45:27 +01:00
jansorg
d4864216b4
Script: retrieve the name of the container from 'docker ps' (closes #392)
This is required to work with the random suffix added by `docker-compose.1.23`
2018-11-19 09:45:07 +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
Georges Dupéron
1b78448ee1
Fixed typo in documentation
X-this-metadata-hash-v1: LKipXxIHgoFUQ5A2tItkv+SeYY6+y4EWxhR0TtcKbk9j3leY/7tgAxhWKyTkS9RxHCUkYNUn1z2tGOFFPuUEV0c0nprwlE9uYgKUR41288So6crvRsUYO5IlnGOPIefJ/D7Y6HPjdLtNQVUYUjWwM7hCX8wBCZuRYHNSMozUpNwXex+qrKF8ZFog25yQ8oNvL+8tazB08pwxMr9dzWr03ZKX6xUAAAAAAAAApA==
X-this-diff-hash-v1: mqwiXjpJe6vuMDs9mk6+ozv/P02TLNFSK97EI+uLvioxyBiJY+XqYVTCg8Kka4Gg5hnx90SQrd714E+yI6k+szDUFs7k0aEu7gXSKe5/0woP7PE5KsgHvmCVQeAJpxcY8yoTZjGZWIV6FTMRD1ElirJxYkjVy1oN+mB8XCmgC4hJrAfdFdUdQx4YhG9ScSRTfmJ0nHjznXWIgOu53H1dNZTsG5QAAAAAAAACNA==
X-this-tree-hash-v1: 9zO0sqq2LZwBu+GlPf/yBjyU7XzVoY4OwhqbplHkqVQ7f8zSVK+NXgMY7tA3GnvstjYjZyn3zy2Zf0VRzCvjNUTnPuEprmzefhOFDxZaxp6ndW1bBsKNFZg+ipLVDFMwpsQz0xUOcwyx3THnc+d9kfk3WztqagOXTQ2bTT/M+h6dqIT5tVQ0lp6iKfX8yxVIMO1RdVw8OkfVzpXRBlPanNEp9ikAAAAAAJ+z/A==
X-parents-hash-v1: bz4iAgkBZR+ytR3Rq23pWp984hr9MEOHM/AtxaQBHQhQBq4HZW/Rg3vvbcNjR/4xjf4mroVywTse7djhQUNF346oex9ZeJHKxmjpBbdsf9SkES++YPVE1a2ce2hLP36jjjrBadoYtO3LhfRx6MfyNJBmObwsHnk/VaUGOr1emzkttYKYaGTgOSIAQa4+DIPha2DAULv2fMes2am21UKRPRqXC3AAAAAAAAASVg==
X-replaces-v1: none
X-number-by-author-v1: 000002
X-previous-commit-by-author-hash-v1: hRr2n30OUaHM6iMxcO7ogbJ2M1CJd3B42cJDqP9PfwchU2M6oPOD+PC+POG1wEtDxJUCYD9ChN733MOLVojehrifwAsC5PTp1Re6wMNt2dY7eRE/JOdEymM1jR9QdjYDZ+8rtvZhqF89TOt8vTqK6dBG2iQDZNbeyyZfVV8pSVVSU/fCAo1mZz8Vs+UeZEanL8jEIYpfpRqKxvzoppi43SLOuV4AAAAAAAAQ9Q==
X-previous-strong-commit-hash-v1: hRr2n30OUaHM6iMxcO7ogbJ2M1CJd3B42cJDqP9PfwchU2M6oPOD+PC+POG1wEtDxJUCYD9ChN733MOLVojehrifwAsC5PTp1Re6wMNt2dY7eRE/JOdEymM1jR9QdjYDZ+8rtvZhqF89TOt8vTqK6dBG2iQDZNbeyyZfVV8pSVVSU/fCAo1mZz8Vs+UeZEanL8jEIYpfpRqKxvzoppi43SLOuV4AAAAAAAAQ9Q==

X-review-sign-reason-base64: MDAwMDAzIGF1dGhvcmVkLWRpZmYgcmV2aWV3ZWQtZGlmZiBwYXRjaC1udW1iZXIgc2lnbmluZy1udW1iZXIgc2lnbmluZy1jaGFpbgo=
X-review-previous-signed: 000003 -----BEGIN PGP SIGNATURE-----  iQIzBAABCAAdFiEEx+nLZ4fM6DOL0DiERkFcBrIgV+0FAlvokpwACgkQRkFcBrIg V+053w/9HoPFVXBGVvwAM4BS9og+BZcyQNfLOazVC2/HLZ6AFOyMOOSplaPEG63p iIQQkAl9Ys5C7JhhI91HsmYv2gyK/ds6bzUc1IkKG78KDtC4SIYTzfw2juXibM42 vBHV5/tV1WEUTYSFwpGjXWNOoqKyT/J9aO28NdMWHyGcYypLOT5B3QSHPb71ixB1 KlQOshjUess31QhcZVksFPLf2qOvMVvPtu6jKsS/MGeuYV0UYV5PUuX2lJKp8RG0 3Yqmo9pHB4ovKOY9bq3Xbywy1ziegWePUooTzK4VHaA3vWGCKBEMGVdQGnsmU2jg UlUVS73hX9duLdbVmhvR/ZTuXyROt/tmawxT1dj2hvxOQKzCmIIbtYfurqV/6Bxi M7zXhUjdmVQ1S3auw06/9FDxh9bHhEIO2qPNGl04G4PlBMMurKjY0Bex1X8hNOhV Sas+HteTPjaOHsjyqbsNiomsnyyd1p0o91AE6nt3G1Jxp1IzVy7fs46ThKVKq4/2 9Lk6stbYcLr6hpDUvf/N+TAt1YZ2D934rGlrqb5v8Pk0whyFbOUGBWJwcq+rW0eq Y3xYmMhoRqmjx7ZKqpIiUyYNBkb062XqNCP6N5TuaN3KJ0LyjXq9POnAFpFzoSV3 GjewPBIlIhLnc4kEtqc6UKMrjgoho8Xx2jy+SF2MGmWClg6Tzmw= =Fa2I -----END PGP SIGNATURE----- 
X-review-filename: 000003-000002-doc-typo-its.patch.signed
X-review-signature: -----BEGIN PGP SIGNATURE-----  iQIzBAABCAAdFiEEx+nLZ4fM6DOL0DiERkFcBrIgV+0FAlvop9QACgkQRkFcBrIg V+19hg//ffw1qT/bSbVxaXE8w3XE4s/vjUbdImlDEfLiQ5baU0N0vHxaTw1xBLaC kBdHTQ2wh8MkYKyP/5ebufT88OEGW6wCK7XKagRSHkijKFhlZfp/fOsrv1qPROeq QaXu8uw/iJM57qTYyd/boCwDWtjNe2bJKmf36MBwcAs8AImw12sTe9O4RlUZF8bu eVcO6/PtRJvJJ1Ql49/nFf9adOQwKyM1h1x3M/T7wmCvvVdhjDlp1woqEiTAh61G kME63Hpm4IPAJp6dNaGdodKU/ndEMwVi55z9ypl5nfhRiJnSsZJDnQN1OeHSkPZX mcc2Qs8MFcqi0twixGdR2uvgLh34l4jmLQ1yFa1+SsrtYzP/opxXj5X2lsb7kVlN Ah2sntXKd6kzIBLfF3e7SGm2y1R9HfUVX+/0v/osA2l0Iv2AQbqBSaAcbKsBMmlP 6aYF2CfGCf8qraZWrZ0/1zGzF32o3DcLyJ/Iiz8LGC+oDYX8fAk3CMg3c9pS+zqr 05WduvQJCQGFQwXq1GLRUDNRwjvMP1AA4lMbrhna+pUiMkAWAfKDE9rXpdGRn9/s 7+3CNaNQE+CpfQB+bHgRLHkNy4AlYcm1PU5Va4VS1GL8UtOQjh+QsgnX6ZRFYz8S brSdZ/kTE0YLzmfzvfBV1tS5qWSdgJYjyNm4WA5rOPaqxEA1Vb4= =nwVi -----END PGP SIGNATURE-----
X-sign-reason: 000004 authored-diff-weak reviewed-diff-weak patch-number signing-number signing-chain
X-previous-signed: 000004 -----BEGIN PGP SIGNATURE-----  iQIzBAABCAAdFiEEx+nLZ4fM6DOL0DiERkFcBrIgV+0FAlvop9QACgkQRkFcBrIg V+19hg//ffw1qT/bSbVxaXE8w3XE4s/vjUbdImlDEfLiQ5baU0N0vHxaTw1xBLaC kBdHTQ2wh8MkYKyP/5ebufT88OEGW6wCK7XKagRSHkijKFhlZfp/fOsrv1qPROeq QaXu8uw/iJM57qTYyd/boCwDWtjNe2bJKmf36MBwcAs8AImw12sTe9O4RlUZF8bu eVcO6/PtRJvJJ1Ql49/nFf9adOQwKyM1h1x3M/T7wmCvvVdhjDlp1woqEiTAh61G kME63Hpm4IPAJp6dNaGdodKU/ndEMwVi55z9ypl5nfhRiJnSsZJDnQN1OeHSkPZX mcc2Qs8MFcqi0twixGdR2uvgLh34l4jmLQ1yFa1+SsrtYzP/opxXj5X2lsb7kVlN Ah2sntXKd6kzIBLfF3e7SGm2y1R9HfUVX+/0v/osA2l0Iv2AQbqBSaAcbKsBMmlP 6aYF2CfGCf8qraZWrZ0/1zGzF32o3DcLyJ/Iiz8LGC+oDYX8fAk3CMg3c9pS+zqr 05WduvQJCQGFQwXq1GLRUDNRwjvMP1AA4lMbrhna+pUiMkAWAfKDE9rXpdGRn9/s 7+3CNaNQE+CpfQB+bHgRLHkNy4AlYcm1PU5Va4VS1GL8UtOQjh+QsgnX6ZRFYz8S brSdZ/kTE0YLzmfzvfBV1tS5qWSdgJYjyNm4WA5rOPaqxEA1Vb4= =nwVi -----END PGP SIGNATURE-----
2018-11-11 22:54:17 +01:00
Georges Dupéron
5e4bd12d3b
Michelson documentation: tez should be mutez
X-this-metadata-hash-v1: cr7e7yi4cBfaH2JA4ayG7moExgEttOxSHKy+86Zzz1z1Kd4/JkR6lmzWreG1u1boYQcmuE/AR24vi8MNgvWhTEYP1/i+Gc0Y4slp9+t8Dp564jXljc5O+uVYrl4XhbY3nduyaFEKX6/0ty0F6pn9zQJizZfhw3j5QH4P2bWuxUyqx66Vsl2AnIDGPX97qbNCNLUBwp1XvHb1aIJH78X2I22vT1IAAAAAAAAAtQ==
X-this-diff-hash-v1: mO0NIkv+QDqmHsRuDD0EU6hCOcAWVid7hoPtv3qDDFuJY54CfzlD7xZuwlOsf20KoldfzKliOd7ytMhBtn1OxxNK/IOeKcrFntFObh+MFEg76E9t62Q/NijuK1Fa+GiiQMSWn+MrD3hGrGOS1bZSxkVnxHezlWSM4fMPqR77yeDxU259A2PL2VF4RRbBtchN4LWSr5FuZDNOTPKekpq6UCkeMZAAAAAAAAARDQ==
X-this-tree-hash-v1: VkoKJM94S5VQJ1s7WZAofHCgOWzmlT3QpQAuPONxB3XOagRK4C8Rhjh6ndjEiQhV2HA4YzL57U0BTd/8WjnueTxdEJWA7aiPztXT5pEWKAFTmglN8x7VwF/z3/5IS9qGqik96pIxNHifVXVxqjgqxO3Lfsb+RlSEW33NOEce8dhW1MfU7o6RXmQUnGu0QtP8f1wQG7mmpnepM+0R6jfk9vHHJEkAAAAAAJ+z/w==
X-parents-hash-v1: RVHL1TYdshBuYh8ZI/KYQUZexrIe/J4TJwTzkTp1U8nUG8au5aNEawHhAs5RTBMT6aYWZBd5JmxUE8J/6VHQC7+gWahU3bzQXGG+1FDcCNLBgWMD3f3gYjxKIdEyU2GnNzeCcjPVv4f0MDP1OKvb/RcHaHQbM6WB57DsInSDC54s+uuD9ItJWLiPC2/PAaK4n1hxduIUBQh3fmzhfSPMkHPJHKIAAAAAAAABcw==
X-replaces-v1: none
X-number-by-author-v1: 000001
X-previous-commit-by-author-hash-v1: first
X-previous-strong-commit-hash-v1: first

X-review-sign-reason-base64: MDAwMDAxIGF1dGhvcmVkLWRpZmYgcmV2aWV3ZWQtZGlmZiBwYXRjaC1udW1iZXIgc2lnbmluZy1udW1iZXIgc2lnbmluZy1jaGFpbgo=
X-review-previous-signed: 000001 first
X-review-filename: 000001-000001-doc-tez-mutez.patch.signed
X-review-signature: -----BEGIN PGP SIGNATURE-----  iQIzBAABCAAdFiEEx+nLZ4fM6DOL0DiERkFcBrIgV+0FAlvokj4ACgkQRkFcBrIg V+3x+g//QiGgw2x0NJFkthQFa5VwjGqydB8eOBxgC8egPMNMuKGc+8lJK5LX7HmV GmDAyyT0TtXZt27xIX6P0bNSI6mERn/dq60vajWnePWPHm9vRZmSrW1ABoJmgZYu OTbD5Nt8EyCaHbAk8uutxLJAago3kzD26zkzfgSxg4qDNEY/sIS4PMHFXjn0Ypvb 1tSNQDGEwTXz/nK3unvz+5m4WJE8lQcmUd38LlLbJOF+t8qKrij2wuZPjii5BNoq aDE90d7Yi/jbDU2NB54Ws8jAMLi1/MBhyK7Av/mF0r7PTQS+3dbPvhLihGbMCgYe zaeYooUiRCMzHtfxpOxezHWONw48O3l7043K+d4m+2GkwVb30NjfqqGO4SRpyK3K wLtobVX2FquSj5qVNFxsSWPdV1+LYpMzX26+t52QRRLpW3EVpF1WocT7qc4HdbXx NI1B8z8eGzEQoJL9PhLadboGBGAlO1YHhx/ftw1Hbm6BvQAuVVPJrEjugijIkOJl bK3qajAqp0RiopLwHMmctEGwFru6fjafp2feXsyICM5Gyc7FkF/nnG6ZjHCF87Ni 7/bLm1+OiOrCVyhXDK8EOc9Cn3Y55KNMowCvmH5iPHH4HPmit8uZW2tZal/M6Amr jPFMy747cweELmZuRes60K/RxhIMHQ2isvQqkZSaM9GKZltKsfs= =IWuW -----END PGP SIGNATURE-----
X-sign-reason: 000002 authored-diff-weak reviewed-diff-weak patch-number signing-number signing-chain
X-previous-signed: 000002 -----BEGIN PGP SIGNATURE-----  iQIzBAABCAAdFiEEx+nLZ4fM6DOL0DiERkFcBrIgV+0FAlvokj4ACgkQRkFcBrIg V+3x+g//QiGgw2x0NJFkthQFa5VwjGqydB8eOBxgC8egPMNMuKGc+8lJK5LX7HmV GmDAyyT0TtXZt27xIX6P0bNSI6mERn/dq60vajWnePWPHm9vRZmSrW1ABoJmgZYu OTbD5Nt8EyCaHbAk8uutxLJAago3kzD26zkzfgSxg4qDNEY/sIS4PMHFXjn0Ypvb 1tSNQDGEwTXz/nK3unvz+5m4WJE8lQcmUd38LlLbJOF+t8qKrij2wuZPjii5BNoq aDE90d7Yi/jbDU2NB54Ws8jAMLi1/MBhyK7Av/mF0r7PTQS+3dbPvhLihGbMCgYe zaeYooUiRCMzHtfxpOxezHWONw48O3l7043K+d4m+2GkwVb30NjfqqGO4SRpyK3K wLtobVX2FquSj5qVNFxsSWPdV1+LYpMzX26+t52QRRLpW3EVpF1WocT7qc4HdbXx NI1B8z8eGzEQoJL9PhLadboGBGAlO1YHhx/ftw1Hbm6BvQAuVVPJrEjugijIkOJl bK3qajAqp0RiopLwHMmctEGwFru6fjafp2feXsyICM5Gyc7FkF/nnG6ZjHCF87Ni 7/bLm1+OiOrCVyhXDK8EOc9Cn3Y55KNMowCvmH5iPHH4HPmit8uZW2tZal/M6Amr jPFMy747cweELmZuRes60K/RxhIMHQ2isvQqkZSaM9GKZltKsfs= =IWuW -----END PGP SIGNATURE-----
2018-11-10 14:42: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
Xavier Clerc
6b33250bda v0.11.120.09+50 2018-11-08 10:05:59 +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
Pierre Boutillier
24355f0ae9
The branch 2.0.0 of opam-repository is now the master branch 2018-11-07 15:42:13 +01:00
Pierre Boutillier
620f85f990
Update opam version in documentation 2018-11-07 15:42:12 +01:00
Pierre Boutillier
7a631f5f3c
Makefile accepts all opam 2.0.* versions 2018-11-07 15:42:11 +01:00
Pierre Boutillier
608cd52b4d
Remove opam version test in scripts/install_build_deps.sh
The Makefile does it already and its only caller
2018-11-07 15:42:09 +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 opens 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
Xavier Clerc
18e2e4319f v0.11.120.08+153 2018-11-06 09:48:30 +00:00
Julien Tesson
532a934438
bin_node: sanity check on node identity file 2018-11-05 15:24:13 +01:00