Grégoire Henry
6afcc1ecdd
Shell/P2p: minor renaming.
2016-11-16 00:45:51 +01:00
Grégoire Henry
cbfab86f25
Shell: replace missing Netparams
with Tezos_p2p
2016-11-16 00:45:51 +01:00
Grégoire Henry
450a0fec15
Shell: replace Netbits
by Data_encoding
2016-11-16 00:45:51 +01:00
Vincent Bernardoff
ff1c08f876
P2p: refactor the mli
2016-11-16 00:44:51 +01:00
Grégoire Henry
cbca39d4ea
Shell: proper handling of uint{8,16}
in Data_encoding
2016-11-16 00:38:58 +01:00
Eitan Chatav
e9ff110d08
proof of work start
2016-11-08 18:18:09 -08:00
Grégoire Henry
5cea09bcb5
Merge remote-tracking branch 'ocp/protocol-db'
2016-11-08 12:53:00 +01:00
Eitan Chatav
56e5fc3213
encrypt arbitrary net frames
2016-11-07 14:50:22 -08:00
Eitan Chatav
1733cd499a
handle decryption exceptions
2016-11-07 14:38:02 -08:00
Eitan Chatav
001ba994a8
negotiate nonce during peer connection
2016-11-07 11:30:13 -08:00
Vincent Bernardoff
668ebd7c5f
fix net-local-discovery
2016-11-07 15:25:44 +01:00
Eitan Chatav
b3efe1ad0a
testing code
2016-11-05 14:32:13 -07:00
Eitan Chatav
69bc2a33e2
encryption and decryption
...
I don’t think this is secure since the receiver decrypts the message
and then sends the clear message as a `Recv` event
2016-11-05 12:16:48 -07:00
Eitan Chatav
bdab9b6c05
peer public keys
...
add peer public keys to known peers in peers file
2016-11-05 09:32:32 -07:00
Eitan Chatav
3a5368434c
add secret key to peer file
2016-11-05 09:12:25 -07:00
Eitan Chatav
b8b93651af
composition operator
...
added composition operator to utils module
2016-11-04 12:22:22 -07:00
Eitan Chatav
438281f1e1
include a public key in peer record type
...
* include a public key in peer record type
* include public key in `Connect` packet
* receive/send public keys in `Connect` packet
* include public key in `connect_to_peer`
* json encode/decode public key
* include public key in peer file encode/decode
* include public key in bootstrapping
2016-11-04 12:07:03 -07:00
Vincent Bernardoff
7a1712756f
add protocol client commands
2016-10-25 19:03:14 +02:00
Vincent Bernardoff
0af5f6e7c3
tezos_compiler: changes
...
* Read TEZOS_PROTOCOL in json format
* Define Protocol module here
* Fix dependent modules to use Protocol defined here
* Compute hash of protocol if absent in TEZOS_PROTOCOL
2016-10-25 19:03:14 +02:00
Vincent Bernardoff
ec79241adb
reject invalid protocols
2016-10-25 19:03:13 +02:00
Vincent Bernardoff
488373551b
add protocol store + rpcs
2016-10-25 19:03:13 +02:00
Vincent Bernardoff
ce54c5bc3d
netbits: read len as a uint16
2016-10-24 13:40:41 +02:00
Grégoire Henry
026007e7f1
Rename "block_header" into "block".
2016-10-19 20:47:04 +02:00
Grégoire Henry
6c9cfde9be
Update to the latest ocplib-resto.
2016-10-16 21:59:44 +02:00
Vincent Bernardoff
7dfb68b50a
create correct socket family given ip addr type
2016-10-10 19:11:59 +02:00
Vincent Bernardoff
8e02ddb1f6
do not crash on exns arising from network input
2016-10-10 15:37:33 +02:00
Vincent Bernardoff
17cb9ccc4a
do not accept negative buffer length
2016-10-10 14:25:09 +02:00
Çağdaş Bozman
4a7eb60631
Client/Shell: filter heads by date
2016-10-10 14:23:23 +02:00
Vincent Bernardoff
d0f78a5662
Node: Dual stack networking
2016-10-06 13:43:38 +02:00
Vincent Bernardoff
2064af36c9
typo
2016-10-06 13:41:30 +02:00
Grégoire Henry
a2363ebd5b
Shell: Add `State.{Block,Valid_block}.iter_predecessors
2016-09-22 16:42:10 +02:00
Benjamin Canou
20d78e70e9
Shell: fix warnings in p2p.ml
.
2016-09-15 15:47:27 +02:00
Tezos
f42e9d12ac
First public release
2016-09-08 19:29:33 -07:00