Skip to content

Commit

Permalink
Added a ToDo item to reimplement P2P in WebSockets
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoras authored May 6, 2019
1 parent 7a5cbf7 commit 17527af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ Talks / presentations I gave about Daisy:
## ToDo

* ✔ Add a `daisy pull` command similar to "docker pull" which would replicate a blockchain from an existing node
* Add a [DHT](https://github.com/nictuku/dht) implementation for node discovery, possibly with some help from IPFS to store bootstrap nodes
* ✔ Make creating new blockchains from scratch possible without changing the code
* ✔ Implement the "URL" encoding for block transfers: so the data in the JSON messages isn't block data, but an URL to the block data.
* Implement nicer error handling when replying to messages
* Refactor db..., action... and blockchain... funcs into struct methods
* ✔ Implement the "URL" encoding for block transfers: so the data in the JSON messages isn't block data, but an URL to the block data.
* Reimplement P2P as a WebSockets protocol, allowing HTTP REST APIs such as getblock to be served from the same port.
* Add a [DHT](https://github.com/nictuku/dht) implementation for node discovery, possibly with some help from IPFS to store bootstrap nodes
* Implement a Bloom filter for tables in SQL queries, to skip querying blocks which don't have the appropriate tables.
* Implement stochastic guarded block importing: if there apparently is a new block in the network: ask a number of peers if they've seen it before importing it.

Expand Down

0 comments on commit 17527af

Please sign in to comment.