• inphi's avatar
    cannon: Prevent deadlock on pre-image reads · 877fcf88
    inphi authored
    Reading a FileChannel that does not have a writer blocks
    indefinitely. This occurs in cannon whenever the pre-image oracle
    server shuts down prematurely. We add a new io.ReadWriter that can
    detect when a FileChannel would otherwise block indefinitely.
    877fcf88
Name
Last commit
Last update
..
README.md Loading commit data...
filechan.go Loading commit data...
filepoller.go Loading commit data...
filepoller_test.go Loading commit data...
hash.go Loading commit data...
hints.go Loading commit data...
hints_test.go Loading commit data...
iface.go Loading commit data...
oracle.go Loading commit data...
oracle_test.go Loading commit data...