MCPcopy Index your code
hub / github.com/copernet/copernicus

github.com/copernet/copernicus @v0.0.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.7 ↗ · + Follow
3,684 symbols 16,689 edges 370 files 1,347 documented · 37%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Copernicus

Build Status Go Report Card Coverage Status

Copernicus is an alternative implementation of the Bitcoin Cash protocol, written in Golang .

Why Go? Go has the following advantages:

  • Multi-platform compilation
  • Simple deployment, direct compilation to machine code
  • High performance
  • Built-in support for high concurrency
  • Garbage Collection
  • Rich standard library
  • Static type
  • Type judgment
  • C support friendly
  • Clean code
  • Go is a well-designed programming language , eg: Code Style , Tool Chain ...
  • ...

A driven team of architects are heading the development, we welcome all developers to join the development of Bitcoin to contribute to the Bitcoin Community.

Quick Start

Read the Quick Start

Documentation

All documentation will be continually updated and can be found at docs Website

Acknowledgments

Extension points exported contracts — how you extend this code

Message (Interface)
Message is an interface that describes a bitcoin message. A type that implements Message has complete control over the [22 …
net/wire/message.go
PeerNotifier (Interface)
PeerNotifier exposes methods to notify peers of status changes to transactions, blocks, etc. Currently server (in the ma [2 …
net/syncmanager/syncmanager.go
NAT (Interface)
NAT is an interface representing a NAT traversal options for example UPNP or NAT-PMP. It provides methods to query and m [2 …
net/upnp/upnp.go
HashFunc (FuncType)
HashFunc is a function which returns a block hash, height and error It is used as a callback to get newest block details
peer/peer.go
AbstractThresholdConditionChecker (Interface)
(no doc) [2 implementers]
model/versionbits/versionbits.go
NotificationCallback (FuncType)
NotificationCallback is used for a caller to provide a callback for notifications about various chain events.
model/chain/notification.go
Checker (Interface)
(no doc) [2 implementers]
logic/lscript/lscriptchecker.go
OnSeed (FuncType)
OnSeed is the signature of the callback function which is invoked when DNS seeding is succesfull.
net/connmgr/seed.go

Core symbols most depended-on inside this repo

Error
called by 625
rpc/btcjson/error.go
GetHash
called by 307
model/tx/tx.go
Equal
called by 271
model/chain/chain.go
String
called by 256
util/cashaddr/cashAddr.go
Equal
called by 252
util/stack.go
ToBytes
called by 151
crypto/publickey.go
PushOpCode
called by 130
model/script/script.go
GetBlockHash
called by 111
model/blockindex/blockindex.go

Shape

Function 1,917
Method 1,273
Struct 415
TypeAlias 58
Interface 12
FuncType 9

Languages

Go100%

Modules by API surface

rpc/btcjson/commands.go143 symbols
net/server/server.go135 symbols
logic/ltx/ltx_test.go97 symbols
peer/peer.go96 symbols
net/server/server_test.go83 symbols
net/syncmanager/syncmanager.go73 symbols
net/syncmanager/syncmanager_test.go62 symbols
model/tx/tx_test.go59 symbols
rpc/btcjson/results.go58 symbols
model/mempool/txmempool.go54 symbols
model/script/script.go45 symbols
util/cashaddr/cashAddr.go43 symbols

For agents

$ claude mcp add copernicus \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact