Closed theStack closed 1 year ago
ACK 41978b67100a63881e0d68198a68a1bc0d9a849a
side-note: we should get rid of those commented out code like the one at https://github.com/mit-dci/utreexo/blob/6ac58e8b644714487118155f01240a4da4335fb8/accumulator/forest_test.go#L203-L210
Doesn't really serve much and hurts readability.
As suggested by @adiabat in https://github.com/mit-dci/utreexo/pull/352#issuecomment-1101462359:
Prove
andVerify
are only used in one unit test, so this one is adapted to use the batch proof equivalentsProveBatch
andVerifyBatchProof
instead. Note that this also makes the structureProof
obsolete, so this is removed as well.