1010
1011
1012
1013
1014
1015
1016
|
foreach blockHash [dict keys [dict get $::nano::account::pending $accountPubKey]] {
lappend outBlocks [receive $account $blockHash $signKey]
}
return $outBlocks
}
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
|
foreach blockHash [dict keys [dict get $::nano::account::pending $accountPubKey]] {
lappend outBlocks [receive $account $blockHash $signKey]
}
return $outBlocks
}
proc ::nano::network::_read {fd bytes} {
if {[chan configure $fd -blocking]} {
tailcall ::read $fd $bytes
}
set data ""
while {$bytes > 0} {
set readData [read $fd $bytes]
if {[string length $readData] == 0} {
if {[eof $fd]} {
break
} else {
update
continue
}
}
incr bytes -[string length $readData]
append data $readData
}
return $data
}
|