would urge you if you get time to do a git pull to add support to official abe on github
jtobey regularly adds different algorithms....
difficulty still up and down but never dropping too low,
At one point, I hacked up a Python sifcoin-hash module (
https://github.com/gjhiggins/sifcoin-hash) to get a Sifcoin version of Abe up and running:
datadir = [
{
"dirname": "/home/gjh/.sifcoin",
"chain": "SiFcoin",
"policy": "SiFChain",
"code3": "SIC",
"address_version": "\u0010",
"script_addr_vers": "\u0005",
"magic": "\u00f2\u00d5\u00d3\u00d8",
"loader": "blkfile", # See the comments for default-loader below.
"conf": "sifcoin.conf"
}
]
The Abe.Chain.SiFChain subclass is quite straightforward ...
# Copyright(C) 2014 by Abe developers.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with this program. If not, see
# .
from . import BaseChain
class SiFChain(BaseChain):
"""
A blockchain that hashes block headers using the SiF algorithm.
The current implementation requires the sifcoin_hash module.
"""
def block_header_hash(chain, header):
import sifcoin_hash
return sifcoin_hash.getPoWHash(header)
(I continue to run a SiFcoin node but I've migrated away from Abe in favour of ACME, my own (as yet unfinished) lightweight RPC-based blockchain explorer implemented in Python: https://minkiz.co/acme/sic --- it's basic and atm, barely better than the raw JSON but I have plans for it).Also, fwiw: on a whim, I transcribed the Sifcoin code back into the full commit history, added getnetworkhashps to the API and squeezed a diffplot chart on to the overview page:
https://github.com/gjhiggins/sifcoin/commits/diffplotCheers
Graham