mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 14:06:45 +01:00
PoC 6 networking code.
* Added block pool for gathering blocks from the network (chunks) * Re wrote syncing
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user