code: func dbPutSpendJournalEntry(dbTx database.Tx, blockHash *chainhash.Hash, stxos []SpentTxOut) error {
  	spendBucket := dbTx.Metadata().Bucket(spendJournalBucketName)
  	serialized := serializeSpendJournalEntry(stxos)
  	return spendBucket.Put(blockHash[:], serialized)
  }
docs: // dbPutSpendJournalEntry uses an existing database transaction to update the
  // spend journal entry for the given block hash using the provided slice of
  // spent txouts.   The spent txouts slice must contain an entry for every txout
  // the transactions in the block spend in the order they are spent.