Browse Source

Pool option #skipcbcheck to disable new coinbase checks

Luke Dashjr 11 years ago
parent
commit
b3282cdaca
1 changed files with 3 additions and 0 deletions
  1. 3 0
      miner.c

+ 3 - 0
miner.c

@@ -2940,6 +2940,9 @@ bool pool_may_redirect_to(struct pool * const pool, const char * const uri)
 
 void pool_check_coinbase(struct pool * const pool, const uint8_t * const cbtxn, const size_t cbtxnsz)
 {
+	if (uri_get_param_bool(pool->rpc_url, "skipcbcheck", false))
+	{}
+	else
 	if (!check_coinbase(cbtxn, cbtxnsz, &pool->cb_param))
 	{
 		if (pool->enabled == POOL_ENABLED)