[ot][spam][crazy][random][crazy]
Undescribed Horrific Abuse, One Victim & Survivor of Many
gmkarl at gmail.com
Sat Nov 12 16:11:45 PST 2022
For this capture_stdin.py, I actually made a python project with plan
to add to it, to make things better. I think it handles dropped input
buffers better or something. Not sure immediately where it is.
Focusing on flat_tree.
1910
(Pdb) list 50
45
46 current_block = peer.current_block()
47 last_time = time.time()
48
49 while True:
50 raw = capture.read(100000*16)#100000)
51 data_array = []
52 for offset in range(0,len(raw),100000):
53 data_array.append(send(raw[offset:offset+100000]))
54 if time.time() > last_time + 60:
55 current_block = peer.current_block()
(Pdb) p len(raw)
0
Seems like it should terminate when len(raw) is 0.
More information about the cypherpunks
mailing list