Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mit-dci/utreexo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 271769e970929b60070f956e1e6bd1c741f9fb1b
Choose a base ref
..
head repository: mit-dci/utreexo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bd9e1741217deae16d85c4e713186657ada3d1e4
Choose a head ref
Showing with 3 additions and 2 deletions.
  1. +3 −2 accumulator/pollard.go
5 changes: 3 additions & 2 deletions accumulator/pollard.go
Original file line number Diff line number Diff line change
@@ -45,11 +45,12 @@ type Pollard struct {
// It is only used for fullPollard.
positionMap map[MiniHash]uint64

// these three are for keeping statistics.
// Below are for keeping statistics.
// hashesEver is all the hashes that have ever been performed.
// rememberEver is all the nodes that have ever been cached.
// currentRemember is all the nodes that are currently being cached.
// overWire is all the leaves that have been received over the network
hashesEver, rememberEver, overWire, currentRemember uint64
hashesEver, rememberEver, currentRemember, overWire uint64
}

// Modify deletes then adds elements to the accumulator.