go-ethereum/cmd/geth/consensus/hybrid.go
oxwa 5b14eb3f28 Changes to be committed:
new file:   cmd/geth/consensus/hybrid.go
	new file:   cmd/geth/core/blockchain.go
	modified:   cmd/geth/main.go
	new file:   cmd/geth/tests/hybrid_test.go
	new file:   consensus/hybrid-consensus/consensus.go
	new file:   consensus/hybrid-consensus/consensus_test.go
	new file:   consensus/hybrid-consensus/go.mod
	new file:   consensus/hybrid-consensus/hybridconsensus.go
	new file:   consensus/hybrid-consensus/metrics.go
	new file:   consensus/hybrid-consensus/validators.go
2024-10-06 16:33:49 +03:00

22 lines
347 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package consensus
import "log"
type HybridConsensus struct {
PoW *ProofOfWork
PoS *ProofOfStake
}
type ProofOfWork struct {
// PoW ile ilgili alanlar
}
type ProofOfStake struct {
// PoS ile ilgili alanlar
}
func (h *HybridConsensus) Start() {
log.Println("Hybrid konsensüs başlatıldı.")
// Başlatma işlemleri
}