better error logging, use NaiveBlockchain