PoC 6 networking code.

* Added block pool for gathering blocks from the network (chunks)
* Re wrote syncing
This commit is contained in:
obscuren committed 2014-08-21 14:47:58 +02:00
1 parent 79c64f6bca
commit eaa2e8900d
7 files changed
+296 -197

No files matched your search

+8
View File
@@ -208,3 +208,11 @@ func Address(slice []byte) (addr []byte) {
return
}
func ByteSliceToInterface(slice [][]byte) (ret []interface{}) {
for _, i := range slice {
ret = append(ret, i)
}
return
}