@ VisibleForTesting public Block createNextBlock ( Address to , long version , long time , int blockHeight ) { return createNextBlock ( to , version , null , time , pubkeyForTesting , FIFTY_COINS , blockHeight ) ; }
Returns a solved block that builds on top of this one . This exists for unit tests .