Oskar Thorén
6ef25d1802
Fix typo
2019-04-19 11:13:34 +08:00
Oskar Thoren
ad6a45d94a
github happy
2019-04-18 14:50:13 +08:00
Oskar Thoren
6271e4eef1
Add proposal merkleslash
2019-04-18 13:38:28 +08:00
Oskar Thoren
884565918d
Some comments
2019-04-18 13:23:48 +08:00
Oskar Thoren
9bed6d2beb
Print merkle paths
2019-04-18 11:54:28 +08:00
Oskar Thoren
8dada4b41e
Remove old main code
2019-04-18 11:28:10 +08:00
Oskar Thoren
3c2933f081
Move to tests
...
Some util functions
2019-04-18 11:26:56 +08:00
Oskar Thoren
84e18c6afd
Add note on partial verification data needed
2019-04-16 17:36:52 +08:00
Oskar Thoren
93071fb68d
Basic pull good and byzantine case
2019-04-16 15:38:08 +08:00
Oskar Thoren
2001faa6d2
Basic pull stub
2019-04-16 14:27:51 +08:00
Oskar Thoren
2f574e0dca
Trusted node hardcoded logic
2019-04-16 14:27:42 +08:00
Oskar Thoren
ead298d312
Print merkleroot as hex
2019-04-16 14:27:40 +08:00
Oskar Thoren
78a88b2d7e
Merkletree hello world
2019-04-16 14:27:38 +08:00
Oskar Thoren
49cbb2ee41
Merkleslash init
2019-04-16 14:27:35 +08:00
Oskar Thorén
91ed40f98a
Update README.md
2019-04-11 14:12:54 +08:00
Oskar Thoren
5df96d8dfd
Tweak README
2019-04-11 14:12:02 +08:00
Oskar Thoren
439fd6f414
Add pun
2019-04-11 13:45:46 +08:00
Oskar Thoren
48c5e28646
Tweak and add screenshot
2019-04-11 13:41:48 +08:00
Oskar Thoren
27764f1076
Staples: Update README with intro, rational, enhancements, how it works etc and give project name Staples
2019-04-11 13:35:57 +08:00
Oskar Thoren
11e2d5d303
Extra uploads to get hash, but it kind of works
2019-04-11 00:06:36 +08:00
Oskar Thoren
9f557ca48b
Use SeenSet of parent0 to not download deps again and again
2019-04-10 23:44:32 +08:00
Oskar Thoren
98392ebac7
Fetching previous message dependencies recursively, works surprisingly well
...
- Also pretty up info prints
- Still re-downloads deps
2019-04-10 23:26:47 +08:00
Oskar Thoren
a6f99e568d
Receiver respects parent0 and downloads 1 dep
...
- Need to recursively check
- And keep track of seen
2019-04-10 22:51:05 +08:00
Oskar Thoren
ebd4e5f8a3
Upload hash of last message and set lastParent in next message
2019-04-10 22:41:10 +08:00
Oskar Thoren
829bea0985
Can upload and download raw messages
...
- Also sreialize is a byte array, not str
2019-04-10 22:28:15 +08:00
Oskar Thoren
f2d9258d87
Seralize and deserialize end to end with text and parent0
2019-04-10 21:05:59 +08:00
Oskar Thoren
523ba3e4b6
Serialize fn shorter
2019-04-10 20:49:30 +08:00
Oskar Thoren
9ab68cb9cf
Basic JSON serialize deserialize test
...
First real (new) defined data structure
Show me your data structures and I'll infer your cruft?
2019-04-10 20:48:41 +08:00
Oskar Thoren
82fe337726
failed attempts, current hypothesis: kademlia connectivity off
...
saving for later
2019-04-10 20:12:58 +08:00
Oskar Thoren
b7b83133dc
All enodes subscribe and topic same as feed
...
Lets see if that makes a difference
2019-04-10 18:01:32 +08:00
Oskar Thoren
dbae5a0cc2
Kind of get feeds working with some cheating
...
Update instruction with some error
Better passive REPL
Use cheater third node
2019-04-10 17:51:54 +08:00
Oskar Thoren
a7dd82e2e4
Add Charlie third node
2019-04-10 17:44:15 +08:00
Oskar Thoren
ada6ceff9d
Add feed check script
2019-04-10 17:43:58 +08:00
Oskar Thoren
0c78c24480
When adding more peers things break, hm
2019-04-10 16:43:21 +08:00
Oskar Thoren
adc99373e2
Request feed on startup working, but stale reads
2019-04-10 16:07:21 +08:00
Oskar Thoren
e5ed24932a
Post to feed when posting message
2019-04-10 15:16:25 +08:00
Oskar Thoren
e3b825356a
Basic post to feed and able to retrieve it from other node
2019-04-10 15:08:40 +08:00
Oskar Thoren
b6d7baf638
Listen mock REPL in bg; nicer prints
2019-04-10 13:24:31 +08:00
Oskar Thoren
bd23cd9114
Listen for multiple messages in bg
2019-04-10 13:12:39 +08:00
Oskar Thoren
ddc017e837
Send message through REPL works
2019-04-10 13:00:43 +08:00
Oskar Thoren
055afb747b
Basic REPL mock functionality
2019-04-10 12:44:24 +08:00
Oskar Thoren
eadda955e6
Cleanup logs and some code cruft
2019-04-10 12:36:05 +08:00
Oskar Thoren
5c6f2bfd5c
Basic scripts to run on right ports with logfile, update README
2019-04-10 12:23:56 +08:00
Oskar Thoren
7cd6fefeab
Some TODOs
2019-04-09 15:11:06 +08:00
Oskar Thoren
94a3071bc1
Wohoo
...
Received message Hello world from 307830346335363133316438646564393065373962373662393766323665386663303332353937383836666636386162363535376639316334626631616534366561623934343135633664663330626236343739636634306638313139373762623262323337373837663562383037643937313931663761393934613535383633336530
Lots of manual addpeer fuckery and some sleeper pills
2019-04-09 15:03:36 +08:00
Oskar Thoren
9e5ef8ef14
Add IPCendpoint
2019-04-09 14:21:27 +08:00
Oskar Thoren
ad8e36a39e
Add geth logging and isolate problem
2019-04-09 13:39:37 +08:00
Oskar Thoren
4d5a47b0e7
Update gitignore
2019-04-09 13:19:34 +08:00
Oskar Thoren
635ae7a4c2
Add private keys because why not
2019-04-09 13:18:52 +08:00
Oskar Thoren
b2949f61d9
Set pubkey/baseaddr and register, should work but doesnt
2019-04-09 13:18:40 +08:00