Commit Graph

363 Commits

Author SHA1 Message Date
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
Oskar Thoren 4025b95f85 Fix geth port wrong for double 2019-04-09 12:53:18 +08:00
Oskar Thoren 76884be68f Use bzzport and bzzdir 2019-04-09 12:43:32 +08:00
Oskar Thoren 528c4697a4 Parameterize and ugly private key hack
- Take args for port and keyfile
- Ugly privatekey reading/writing to get it stable
- Fix datadir
2019-04-09 12:40:18 +08:00
Oskar Thoren ef52410ed1 PSS basic listening and sending (one node, not tested) 2019-04-08 15:52:46 +08:00
Oskar Thoren 754ab5cda5 Hello swarm in go 2019-04-08 13:40:43 +08:00
Oskar Thoren ce53d086de Hello Swarm Feeds
- Basic CLI/curl steps for get/post feeds
- Update gitignore too
2019-04-08 12:10:28 +08:00
Oskar Thoren 7e8d8864fb Update p2p data sync comparison doc 2019-04-01 13:07:24 +08:00
Oskar Thoren baa5eda02b Add initial draft of data sync comparison 2019-04-01 10:10:01 +08:00
Oskar Thoren 573782ad2b Create dir if doesnt exist 2019-02-25 11:50:29 +08:00
Oskar Thoren 3eb01a1420 gitignore fix 2019-02-25 11:42:24 +08:00
Oskar Thoren a571ec8880 Fix setup instructions a bit 2019-02-25 11:37:39 +08:00
Oskar Thoren f7023b0346 test key 2019-02-25 18:29:19 +08:00
Oskar Thoren 1347963ff6 make 1:1 syntax OK 2019-02-23 03:52:31 -05:00