This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from contextlib import contextmanager | |
from os.path import getsize, basename | |
from tqdm import tqdm | |
@contextmanager | |
def pbopen(filename): | |
total = getsize(filename) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"depth":1, | |
"nodes":8, | |
"fen":"r6r/1b2k1bq/8/8/7B/8/8/R3K2R b KQ - 3 2" | |
}, | |
{ | |
"depth":1, | |
"nodes":8, | |
"fen":"8/8/8/2k5/2pP4/8/B7/4K3 b - d3 0 3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************************** | |
* Copyright (c) 2017, Jochen Hoenicke * | |
* * | |
* Compile with: * | |
* gcc -O2 -I secp256k1/src/ -I secp256k1/ break_short.c -lgmp * | |
**********************************************************************/ | |
#include "libsecp256k1-config.h" | |
#include <stdio.h> |