Enable txindex=1 as default #37

Closed
kodxana wants to merge 211 commits from master into master
Showing only changes of commit 9b313b3914 - Show all commits

View file

@ -3882,6 +3882,7 @@ func handleSubmitBlock(s *rpcServer, cmd interface{}, closeChan <-chan struct{})
// nodes. This will in turn relay it to the network like normal.
_, err = s.cfg.SyncMgr.SubmitBlock(block, blockchain.BFNone)
if err != nil {
rpcsLog.Infof("Rejected block %s via submitblock: %s", block.Hash(), err)
return fmt.Sprintf("rejected: %s", err.Error()), nil
}