[wip] Get the ledger and dump stats about ledger_accept.