use copy_into for postgres inserts where it's simple enough
use COPY to store addr and tx for postgres
use COPY for massive inserts with postgres + cleanup
fetch all prev_txs needed for validation with a single query
optimize finding spent outputs
naming is hard