e.g. any hash that starts with 17 '0's 2. Nodes start to calculate a hash that matches the condition, based on transactions and a nonce 3. A node finds such a hash, creates a block with it and informs the network 4. Other nodes verify the validity and accept the new longest chain
== hash) { return false; } final int jIndex = hash.indexOf('J'); final int cIndex = hash.indexOf('C'); final int oIndex = hash.indexOf('o'); final int rIndex = hash.indexOf('r'); final int eIndex = hash.indexOf('e'); final boolean didFindJcoreCharacters = jIndex != -1 && cIndex != -1 && oInd final boolean jcoreCharactersInCorrectOrder = jIndex < cIndex && cIndex < o return didFindJcoreCharacters && jcoreCharactersInCorrectOrder; }