Bitswap

should these functions commit to the datastore? what happens if there's a crash right after? our ledgers are unsynced.