From 86dc7c601a250f2422ad0bda08fa7e6932de9562 Mon Sep 17 00:00:00 2001 From: Sky Young Date: Sat, 20 Oct 2018 11:25:37 -0600 Subject: [PATCH] Replace Bitcoin and bcoin with Flo and fcoin respectively --- lib/http/rpc.js | 4 ++-- lib/mining/miner.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/http/rpc.js b/lib/http/rpc.js index c3f3e544..33d45ea4 100644 --- a/lib/http/rpc.js +++ b/lib/http/rpc.js @@ -1227,12 +1227,12 @@ RPC.prototype.getBlockTemplate = async function getBlockTemplate(args, help) { if (!this.network.selfConnect) { if (this.pool.peers.size() === 0) { throw new RPCError(errs.CLIENT_NOT_CONNECTED, - 'Bitcoin is not connected!'); + 'Flo is not connected!'); } if (!this.chain.synced) { throw new RPCError(errs.CLIENT_IN_INITIAL_DOWNLOAD, - 'Bitcoin is downloading blocks...'); + 'Flo is downloading blocks...'); } } diff --git a/lib/mining/miner.js b/lib/mining/miner.js index 1a050465..4274bcbd 100644 --- a/lib/mining/miner.js +++ b/lib/mining/miner.js @@ -382,7 +382,7 @@ function MinerOptions(options) { this.version = -1; this.addresses = []; - this.coinbaseFlags = Buffer.from('mined by bcoin', 'ascii'); + this.coinbaseFlags = Buffer.from('mined by fcoin', 'ascii'); this.preverify = false; this.minWeight = policy.MIN_BLOCK_WEIGHT;