go-blockchain/p2p/commands.go
Snider 34128d8e98
Some checks failed
Security Scan / security (pull_request) Successful in 11s
Test / Test (pull_request) Failing after 19s
refactor: migrate module path to dappco.re/go/core/blockchain
Update go.mod module line, all require/replace directives, and every
.go import path from forge.lthn.ai/core/go-blockchain to
dappco.re/go/core/blockchain. Add replace directives to bridge
dappco.re paths to existing forge.lthn.ai registry during migration.
Update CLAUDE.md, README, and docs to reflect the new module path.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 01:49:26 +00:00

22 lines
836 B
Go

// Copyright (c) 2017-2026 Lethean (https://lt.hn)
//
// Licensed under the European Union Public Licence (EUPL) version 1.2.
// SPDX-License-Identifier: EUPL-1.2
// Package p2p implements the CryptoNote P2P protocol for the Lethean blockchain.
package p2p
import "dappco.re/go/core/p2p/node/levin"
// Re-export command IDs from the levin package for convenience.
const (
CommandHandshake = levin.CommandHandshake
CommandTimedSync = levin.CommandTimedSync
CommandPing = levin.CommandPing
CommandNewBlock = levin.CommandNewBlock
CommandNewTransactions = levin.CommandNewTransactions
CommandRequestObjects = levin.CommandRequestObjects
CommandResponseObjects = levin.CommandResponseObjects
CommandRequestChain = levin.CommandRequestChain
CommandResponseChain = levin.CommandResponseChain
)