Skip to content

Commit

Permalink
bet
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed Oct 19, 2023
1 parent fe6dbac commit 454d739
Show file tree
Hide file tree
Showing 88 changed files with 3 additions and 253 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/**/*tx_database*
*/**/*dapps*
build/_vendor/pkg
data

#*
.#*
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ devtools:
env GOBIN= go install github.com/golang/protobuf/protoc-gen-go@latest
env GOBIN= go install ./cmd/abigen
@type "solc" 2> /dev/null || echo 'Please install solc'
@type "protoc" 2> /dev/null || echo 'Please install protoc'a
@type "protoc" 2> /dev/null || echo 'Please install protoc'
2 changes: 1 addition & 1 deletion consensus/beacon/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (beacon *Beacon) Finalize(chain consensus.ChainHeaderReader, header *types.
amount := new(big.Int).SetUint64(w.Amount)
amount = amount.Mul(amount, big.NewInt(params.GWei))
state.AddBalance(w.Address, amount)
}
}
// No block reward which is issued by consensus layer instead.
}

Expand Down
16 changes: 0 additions & 16 deletions core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,6 @@ type StateDB struct {

// Testing hooks
onCommit func(states *triestate.Set) // Hook invoked when commit is performed

extJournal Revertable
}

type Revertable interface {
Snapshot() int
RevertToSnapshot(int)
}

// New creates a new state from a given trie.
Expand Down Expand Up @@ -801,11 +794,6 @@ func (s *StateDB) Snapshot() int {
id := s.nextRevisionId
s.nextRevisionId++
s.validRevisions = append(s.validRevisions, revision{id, s.journal.length()})
if s.extJournal != nil {
if s.extJournal.Snapshot() != id {
panic("REEEE")
}
}
return id
}

Expand All @@ -823,10 +811,6 @@ func (s *StateDB) RevertToSnapshot(revid int) {
// Replay the journal to undo changes and remove invalidated snapshots
s.journal.revert(s, snapshot)
s.validRevisions = s.validRevisions[:idx]

if s.extJournal != nil {
s.extJournal.RevertToSnapshot(revid)
}
}

// GetRefund returns the current value of the refund counter.
Expand Down
Empty file removed data/node1/geth/LOCK
Empty file.
Binary file removed data/node1/geth/blobpool/limbo/bkt_00004096.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_00135168.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_00266240.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_00397312.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_00528384.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_00659456.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_00790528.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_00921600.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_01052672.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_01183744.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_01314816.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_01445888.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_01576960.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_01708032.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/limbo/bkt_01839104.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_00004096.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_00135168.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_00266240.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_00397312.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_00528384.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_00659456.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_00790528.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_00921600.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_01052672.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_01183744.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_01314816.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_01445888.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_01576960.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_01708032.bag
Binary file not shown.
Binary file removed data/node1/geth/blobpool/queue/bkt_01839104.bag
Binary file not shown.
Binary file removed data/node1/geth/chaindata/000004.sst
Binary file not shown.
Binary file removed data/node1/geth/chaindata/000005.log
Binary file not shown.
Binary file removed data/node1/geth/chaindata/000008.log
Binary file not shown.
1 change: 0 additions & 1 deletion data/node1/geth/chaindata/CURRENT

This file was deleted.

Empty file removed data/node1/geth/chaindata/LOCK
Empty file.
Binary file removed data/node1/geth/chaindata/MANIFEST-000001
Binary file not shown.
Binary file removed data/node1/geth/chaindata/MANIFEST-000006
Binary file not shown.
107 changes: 0 additions & 107 deletions data/node1/geth/chaindata/OPTIONS-000007

This file was deleted.

Empty file.
Empty file.
Binary file removed data/node1/geth/chaindata/ancient/chain/bodies.cidx
Binary file not shown.
1 change: 0 additions & 1 deletion data/node1/geth/chaindata/ancient/chain/bodies.meta

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion data/node1/geth/chaindata/ancient/chain/diffs.meta

This file was deleted.

Binary file removed data/node1/geth/chaindata/ancient/chain/diffs.ridx
Binary file not shown.
Empty file.
1 change: 0 additions & 1 deletion data/node1/geth/chaindata/ancient/chain/hashes.meta

This file was deleted.

Binary file removed data/node1/geth/chaindata/ancient/chain/hashes.ridx
Binary file not shown.
Empty file.
Binary file removed data/node1/geth/chaindata/ancient/chain/headers.cidx
Binary file not shown.
1 change: 0 additions & 1 deletion data/node1/geth/chaindata/ancient/chain/headers.meta

This file was deleted.

Empty file.
Binary file not shown.
1 change: 0 additions & 1 deletion data/node1/geth/chaindata/ancient/chain/receipts.meta

This file was deleted.

Binary file removed data/node1/geth/lightchaindata/000002.log
Binary file not shown.
1 change: 0 additions & 1 deletion data/node1/geth/lightchaindata/CURRENT

This file was deleted.

Empty file.
Binary file removed data/node1/geth/lightchaindata/MANIFEST-000001
Binary file not shown.
107 changes: 0 additions & 107 deletions data/node1/geth/lightchaindata/OPTIONS-000003

This file was deleted.

Empty file.
Empty file.
Binary file not shown.
1 change: 0 additions & 1 deletion data/node1/geth/lightchaindata/ancient/chain/bodies.meta

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion data/node1/geth/lightchaindata/ancient/chain/diffs.meta

This file was deleted.

Binary file not shown.
Empty file.
1 change: 0 additions & 1 deletion data/node1/geth/lightchaindata/ancient/chain/hashes.meta

This file was deleted.

Binary file not shown.
Empty file.
Binary file not shown.
1 change: 0 additions & 1 deletion data/node1/geth/lightchaindata/ancient/chain/headers.meta

This file was deleted.

Empty file.
Binary file not shown.
1 change: 0 additions & 1 deletion data/node1/geth/lightchaindata/ancient/chain/receipts.meta

This file was deleted.

1 change: 0 additions & 1 deletion data/node1/geth/nodekey

This file was deleted.

Binary file removed data/node1/geth/nodes/000001.log
Binary file not shown.
1 change: 0 additions & 1 deletion data/node1/geth/nodes/CURRENT

This file was deleted.

Empty file removed data/node1/geth/nodes/LOCK
Empty file.
6 changes: 0 additions & 6 deletions data/node1/geth/nodes/LOG

This file was deleted.

Binary file removed data/node1/geth/nodes/MANIFEST-000000
Binary file not shown.
Empty file removed data/node1/geth/transactions.rlp
Empty file.
1 change: 0 additions & 1 deletion p2p/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ func (srv *Server) Start() (err error) {
if err := srv.setupLocalNode(); err != nil {
return err
}

srv.setupPortMapping()

if srv.ListenAddr != "" {
Expand Down

0 comments on commit 454d739

Please sign in to comment.