initial simple peer, add config reader

This commit is contained in:
arnaucube
2019-04-13 03:23:12 +02:00
parent 0a48c937b2
commit ff73690719
5 changed files with 444 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ func newTestPoABlockchain() (*ecdsa.PrivateKey, *core.Blockchain, error) {
bc := core.NewPoABlockchain(db, authNodes)
return privK, bc, nil
}
func TestNode(t *testing.T) {
dir, err := ioutil.TempDir("", "db")
assert.Nil(t, err)