code: def get_all_accounts(self):
          
          for address_hash, rlpdata in self.secure_trie.trie.iter_branch():
              if rlpdata != trie.BLANK_NODE:
                  yield rlp.decode(rlpdata, Account, db=self.db, addr=address_hash)
docs: iterates through trie to and yields non-blank leafs as accounts.