Sixteen lanes. One collision caught.

Set a batch. Sixteen lanes run it at once, and the single collision is replayed.

Read the execution spec
512
Execution threads
batch 512 transactions threads 16 shard 0x03 height 18,421,324
  1. 10x8f24c1swap0x41f2committed
  2. 20x3a7d09transfer0x2db1committed
  3. 30xc41e88mint0x7a03committed
  4. 40x90bb15swap0x5cd9committed
  5. 50x2ee740bridge0xd120committed
  6. 60x77c301vote0xe994committed
  7. 70x15f9abtransfer0x8b5ecommitted
  8. 80xa08d2fstake0x179fcommitted
  9. 90x63b7c4transfer0x41f2replayed
  10. 100xde1f60claim0x2db1committed
  11. 110x4c92easwap0x7a03committed
  12. 120x8206b3burn0x5cd9committed
  13. 130xf31d57mint0xd120committed
  14. 140x6a4c88vote0xe994committed
  15. 150x29e0fdbridge0x8b5ecommitted
  16. 160xb5731ctransfer0x179fcommitted

Lanes 5 to 16 omitted at this width.

1 collision on lane 9. The loser replayed in 1.8 ms. finality 762 ms

How much load?

Share of a batch that touches one account. Every conflict costs a replay, and a replay costs throughput.

20%

83,300tx/s

8 shards × 16 lanes × 833 executions per lane-millisecond ÷ 1.28 replay factor. A model of the published constants, not a measurement.

The collision, in three calls.

  1. First, send a batch.

    fn dispatch(batch: Vec<Tx>) {
      let pool = Pool::new(16);
      for tx in batch {
        pool.spawn(|| {
          pvm::run(tx, tx.keys());
        });
      }
    }
    1. lane 1 · swapcommitted
    2. lane 2 · transfercommitted
    3. lane 3 · mintcommitted
    4. lane 4 · swapcommitted
    5. lane 5 · transfercommitted
    6. lane 6 · votecommitted
  2. Then two of them touch the same account.

    match state.commit(tx.hash) {
      Ok(root) => broadcast(root),
      Err(Conflict(key)) => {
        scheduler.replay(tx, key);
      }
    }
    1. lane 1 · swap · 0x41f2committed
    2. lane 2 · transfer · 0x2db1committed
    3. lane 3 · mint · 0x7a03committed
    4. lane 4 · swap · 0x5cd9committed
    5. lane 5 · transfer · 0x2db1conflict
    6. lane 6 · vote · 0xd120committed
  3. The scheduler replays the loser.

    let again = scheduler.replay(tx);
    assert_eq!(again.root, serial.root);
    checkpoint::commit(block.height);
    18,421,324checkpoint height
    814transactions in the block
    1.8 mscost of the replay
    762 msto finality
A crowd on a beach watching a submarine telegraph cable come ashore
Landing of the submarine cable, Port Darwin, 7 November 1871. State Government Photographer, CC0, via Wikimedia Commons.

Parallel execution was not the hard part in 1871 either. Getting a second signal onto the same wire was.

Eight shards, eight jobs.

Shard 0x00 carries automated market makers. 41 contracts, 2,104 transactions in the current batch.

Every chain lands in a building.

A network of this size is a physical plant before it is software: halls of cabinets, a substation, and a cable that comes ashore somewhere. These are not BlockCore's facilities. They are where the category runs.

Rows of illuminated server cabinets in a colocation hall
BalticServers data center. BalticServers.com, CC BY-SA 3.0, via Wikimedia Commons.
A power transformer and switchgear inside a fenced substation
Muurame substation, Finland. Antti Leppänen, CC BY 4.0, via Wikimedia Commons.

The network's constants.

16execution threads
8shards
762 msmedian finality
0checkpoints reverted
62.5%quorum to finalise
1,438validators
400 msordering consensus
1.2 msper-lane execution
21kgas for a transfer
COREunit of account

Questions developers ask.

Trading posts, monitors and overhead cabling on an exchange floor
The New York Stock Exchange trading floor. Carol M. Highsmith, public domain, via Wikimedia Commons.
Is it EVM-compatible?

Contracts compile to the same bytecode. The runtime executes EVM bytecode unmodified and adds the parallel scheduler on top, so an existing contract keeps its address, its ABI and its gas semantics.

What happens when two transactions touch one account?

One commits and the other is re-executed against the updated state. The replay costs about 1.2 ms, and the second result is byte-identical to running both in sequence. That equality is what the scheduler asserts before it checkpoints.

How do I run a node?

Install the CLI, then run it for one shard. A full node keeps state for that shard and headers for the other seven, and it reaches the tip from a snapshot in about four minutes.

What is the finality guarantee, exactly?

A block is final once 62.5% of the 1,438 validators sign its ordering. Execution then runs asynchronously against that order, so the median is 762 ms and no checkpoint has been reverted since genesis.

Where does governance live?

Shard 0x06 executes proposals. Voting weight is stake, quorum is 62.5%, and an accepted proposal runs as a scheduled transaction against the parameter it changes.

What does a transaction cost?

A transfer is 21,000 gas at 14.2 Gwei. Parallel execution does not change gas accounting. It changes how much of it one block can carry.

Can I bridge, or is that a shard?

Shard 0x03 runs cross-chain relays. Value arriving from another chain is credited once its source checkpoint verifies, which is the only step in the system that waits on a foreign chain.

BlockCore is a specification and interface study. These answers describe the design as written, not a deployed network.

Run your
first block.

The CLI scaffolds the project, starts a local validator and prints the height it reaches.

npm install @blockcore/sdk
npx blockcore init