Open robinmonjo opened 6 years ago
Coincoin.Blockchain
with the package name of coincoin_blockchain
This is thinking on all the use cases.
Ok if we put it under Coincoin.Blockchain
we should auto alias it in coincoin so people don't have to type Coincoin.Blockchain.command
every time. Looks like it's doable not sure if it works with releases though ...
The blockchain is responsible for what it is currently:
@robinmonjo yes, about the aliasing. Look my PR I didn't change that piece on your code because I used the alias.
Sure we could extract the P2P part too. But this won't have much value by its own without the blockchain logic on top of it.
Blockchains are ran on a network of untrusted peers. Having a mechanism such as PoW or PoS is mandatory in such environment to ensure consensus between peers.
What do you mean about "food protocol" ?
"food protocol" type I will fix it BrokeBack
The goal is to provide the blockchain part as an hex package so people can reuse it in their own project.
To achieve this we must:
@yordis the first part I think is to think about an API. For now, the Blockchain app exposes:
A protocol that data we want to store on the chain must follow:
A set of functions to interact with the blockchain
@yordis you have a use case in mind, this is perfect to define what APIs you will need. We can then include them in the project. Then we must find a name for the package and namespace it. Waiting for suggestions 😊