research/data_sync
Oskar Thoren 5cbb5eda15 switch a and b node 2019-02-21 01:36:48 -05:00
..
scripts Add node helper scripts 2019-02-20 07:12:13 -05:00
.gitignore Bug fixes 2019-01-12 02:20:45 -05:00
Makefile update makefile and misc notes 2019-01-09 08:19:12 -05:00
README.md WIP 2019-02-06 06:27:00 -05:00
app.py switch a and b node 2019-02-21 01:36:48 -05:00
client.py Move client concerns 2019-01-11 00:06:51 -05:00
filter.py WIP 2019-02-06 06:27:51 -05:00
networksim.py python3 prints 2019-02-06 05:36:07 -05:00
networkwhisper.py Assert node running 2019-02-18 23:12:58 -05:00
private_client.py Whisper send and receive 2019-02-06 06:27:00 -05:00
static-nodes.json WIP 2019-02-06 06:27:00 -05:00
sync-notes.txt Move sync notes 2019-01-13 22:37:40 -05:00
sync.proto Move into one data_sync folder 2019-01-02 20:47:21 -05:00
sync.py actually append msg to log 2019-02-21 01:18:29 -05:00
sync_pb2.py Misc 2019-01-02 21:59:33 -05:00
test.json WIP 2019-02-06 06:27:00 -05:00
test.py Move into one data_sync folder 2019-01-02 20:47:21 -05:00
whisper.py WIP 2019-02-06 07:27:31 -05:00
whisper.py.old Cleanup Whisper a bit 2019-02-06 06:27:00 -05:00

README.md

BSP-spec

Goal: a Protobuf spec of https://code.briarproject.org/briar/briar-spec/blob/master/protocols/BSP.md

As well as some PoC around it.

Initial PoC report: https://notes.status.im/THYDMxSmSSiM5ASdl-syZg

make
make run # see sync.py

Whisper

Run geth node:

geth --testnet --syncmode=light --ws --wsport=8546 --wsaddr=localhost --wsorigins=statusjs --rpc --maxpeers=25 --shh --shh.pow=0.002 --wsapi=eth,web3,net,shh,debug,admin,personal

geth --testnet --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8501

geth --testnet --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8500 --datadir=/tmp/foo --port=30000
geth --testnet --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8501 --datadir=/tmp/bar --port=30001


- add nodes to connect

- running whisper node on own nodes?

cp static-nodes.json ~/.ethereum/testnet/geth/

# send 1:1 chat

0x04cfc3a0f6c1cb824823164603959c639f99680485da2446dc316969faca00421b20dba3996bf99b8b5db7745eace60545a77e54784e91e440aa1af931161de3a6

geth --testnet --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8501 --datadir=/tmp/bar --port=30001 --ipcpath /tmp/bar.ipc

geth --testnet --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8501 --datadir=~/.ethereum/node-b --port=30001