mirror of https://github.com/vacp2p/research.git
22 lines
336 B
Go
22 lines
336 B
Go
|
package main
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
// Rough API
|
||
|
|
||
|
// eg swarm feeds, etc - any trusted point
|
||
|
// getRoot(method, groupID)
|
||
|
|
||
|
// list or merkle root and payment
|
||
|
// to untrusted node
|
||
|
// sync(root, [have], node) payment?
|
||
|
|
||
|
//verify
|
||
|
//slash
|
||
|
//court
|
||
|
|
||
|
// define how untrusted nodes get in first place
|
||
|
|
||
|
func main() {
|
||
|
fmt.Printf("Hello Merkleslash\n")
|
||
|
}
|