blockchaingate / fabcoin Goto Github PK
View Code? Open in Web Editor NEWFast Access Blockchain
Home Page: https://fa.biz/
License: MIT License
Fast Access Blockchain
Home Page: https://fa.biz/
License: MIT License
Is there any rpc documentation, I want to use java to access rpc, but I don't know the rpc documentation
Hi,
I am trying to set up a z-nomp pool for Fab Coin. At the beginning, I got this error
Error: Expected property "1" of type Satoshi, got Number 24950000000000000
After hours research, I made this modified
var blockReward = (this.rpcData.miner) * 100000000;
change to
var blockReward = (this.rpcData.miner);
The blockReward seems to be correct now, it's 2500000000
But later I got this message at the pool side
We thought a block was found but it was rejected by the daemon, share data: {"job":"ce14","ip":"::ffff:169.62.79.66","port":3033,"worker":"1Pr8Y67xWFMKUsKfNdgqtXUVtUGrKHPKVN.noname","height":124296,"difficulty":1000,"shareDiff":"76908.13346099","blockDiff":52614.575953302,"blockDiffActual":52614.575953302,"blockHash":"00000006d12b63a7a8d0836b04fcbbf299e26e4b07c257922b59ad7a38e20474","error":{"unknown":"check coin daemon logs"}}
And below is what in the wallet log:
2018-07-16 15:33:13 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 00000006d12b63a7a8d0836b04fcbbf299e26e4b07c257922b59ad7a38e20474, bad-height, incorrect block height (code 16)
2018-07-16 15:33:13 ERROR: ProcessNewBlock: AcceptBlock FAILED
Seems all the blocks that we might find got rejected.
Any idea what should I do to fix this? Thanks.
hi, have a error ./fabcoin-qt: error while loading shared libraries: libboost_program_options.so.1.58.0: cannot open shared object file: No such file or directory
Linux 18.04 and other computer 16.04.
installed version libboost 1.65.1
`2018-07-26 10:39:50 [POSIX] [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
2018-07-26 10:39:50 [Master] [CLI] CLI listening on port 17117
2018-07-26 10:39:50 [PPLNT] [fabcoin] TimeShare processing setup with redis (127.0.0.1:6379)
2018-07-26 10:39:51 [Master] [PoolSpawner] Spawned 1 pool(s) on 2 thread(s)
2018-07-26 10:39:51 [Website] [Server] Website started on 0.0.0.0:80
2018-07-26 10:39:51 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2018-07-26 10:39:52 [Pool] [fabcoin] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
/root/fabpool/pool/node_modules/typeforce/index.js:159
throw tfSubError(e, i)
^
Error: Expected property "1" of type Satoshi, got Number 249250000000015040
at tfSubError (/root/fabpool/pool/node_modules/typeforce/errors.js:93:9)
at /root/fabpool/pool/node_modules/typeforce/index.js:159:17
at Array.every (native)
at _tuple (/root/fabpool/pool/node_modules/typeforce/index.js:155:20)
at typeforce (/root/fabpool/pool/node_modules/typeforce/index.js:196:9)
at Transaction.addOutput (/root/fabpool/pool/node_modules/bitcoinjs-lib-zcash/src/transaction.js:297:3)
at Object.exports.createGeneration (/root/fabpool/pool/node_modules/stratum-pool/lib/transactions.js:118:12)
at new BlockTemplate (/root/fabpool/pool/node_modules/stratum-pool/lib/blockTemplate.js:43:35)
at JobManager.processTemplate (/root/fabpool/pool/node_modules/stratum-pool/lib/jobManager.js:150:32)
at /root/fabpool/pool/node_modules/stratum-pool/lib/pool.js:588:66
2018-07-26 10:39:52 [Master] [PoolSpawner] Fork 0 died, spawning replacement worker...
2018-07-26 10:39:52 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2018-07-26 10:39:52 [Pool] [fabcoin] (Thread 2) Share processing setup with redis (127.0.0.1:6379)`
Do you know which file needs to be edited?
@blockchaingate
Hi, I'm trying to setup znomp for Fabcoin. I noticed the block header used in znomp follows Zcash protocol, which has 140 bytes block header. The Fabcoin Developer Reference indicates 80-bytes header with 4 bytes nonce. Should I just follow the Fabcoin Developer Reference and change the header and nonce settings in znomp?
Thanks a lot for your help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.