File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1414// You should have received a copy of the GNU Affero General Public License
1515// along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
17+ // This package provides an interface for pushing and indexing IPLD objects into a Postgres database
18+ // Metrics for reporting processing and connection stats are defined in ./metrics.go
1719package indexer
1820
1921import (
Original file line number Diff line number Diff line change 1717package indexer
1818
1919import (
20- "github.com/ethereum/go-ethereum/common"
2120 "github.com/jmoiron/sqlx"
2221
22+ "github.com/ethereum/go-ethereum/common"
2323 "github.com/ethereum/go-ethereum/statediff/indexer/models"
2424 "github.com/ethereum/go-ethereum/statediff/indexer/postgres"
2525 "github.com/ethereum/go-ethereum/statediff/indexer/shared"
2929 nullHash = common .HexToHash ("0x0000000000000000000000000000000000000000000000000000000000000000" )
3030)
3131
32- // Indexer satisfies the Indexer interface for ethereum
32+ // Handles processing and writing of indexed IPLD objects to Postgres
3333type PostgresCIDWriter struct {
3434 db * postgres.DB
3535}
You can’t perform that action at this time.
0 commit comments