Commit Graph

453 Commits

Author SHA1 Message Date
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
Oskar Thoren c9c317095a Dont print sync state 2019-02-23 03:33:19 -05:00
Oskar Thoren e553dd67d1 Basic logging module 2019-02-23 03:28:02 -05:00
Oskar Thoren 08739dac4b Better shorter logging 2019-02-23 03:07:13 -05:00
Oskar Thoren 9bf2a4feec Fix sync node bug - it acks now! 2019-02-23 02:58:01 -05:00
Oskar Thoren ff4dddb71b Variable host 2019-02-23 02:49:08 -05:00
Oskar Thoren f88ccf5d2e Finally get nodes to connect, ish 2019-02-23 02:46:27 -05:00
Oskar Thorén 6a002476d0
Merge pull request #2 from status-im/whisper
WIP: Whisper transport
2019-02-21 14:38:03 +08:00
Oskar Thoren 5cbb5eda15 switch a and b node 2019-02-21 01:36:48 -05:00
Oskar Thoren 187d7597d3 actually append msg to log 2019-02-21 01:18:29 -05:00
Oskar Thoren 8da5a84305 Moar skeleton 2019-02-21 01:08:48 -05:00