This repository contains the source code of AriaBC, i.e., the Aria deterministic concurrency control implemented on PostgreSQL.
./configure
make -j
make install
- Prepare the blockchain database file
initdb -D /tmp/ycsb
- Launch the database engine
postgres -D /tmp/ycsb
- Create the database and initialize the state
createdb ycsb
psql -d ycsb < src/benchmark/samples/ycsb_setup
- Run the workload
psql -d ycsb < src/benchmark/samples/ycsb_tx_blocks
See src/benchmark/samples/ycsb_tx_blocks for more details on how to submit a block of transactions.