core

command module
v0.0.0-...-efdc0b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

audius core

The distributed event log that binds discovery, content, and identity together. The audius L1.

architecture

Built with cometbft, audius core is the L1 blockchain that stores all the canon events in the audius protocol. The core is the library that allows you to build node types around this source, publish events, index data, and materialize views that then power audius applications.

graph TD
    L1["Audius L1"]
    L2a["Discovery Provider"]
    L2b["Content Node"]
    L2c["Identity Service"]

    L1 --> |"indexes discovery\n related data"| L2a
    L1 --> |"indexes content\n related data"| L2b
    L1 --> |"indexes identity\n related data"| L2c

configuration

Whether running as an independent image or embedded, core requires some environment variables to run.

local cluster
make deps
modd
running in production

testing

To run tests, ensure audius dev tooling has been properly setup, then simply run

audius-compose test run core
unit tests

Place unit tests next to appropriate files in the standard go fashion

core/signature.go
core/signature_test.go
integration tests

Integration tests are written with ginkgo and gomega to be more readable, the way to generate one is to use the ginkgo cli installed in the make deps command.

ginkgo generate NewTestName

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
views/components
templ: version: v0.2.778
templ: version: v0.2.778
views/layout
templ: version: v0.2.778
templ: version: v0.2.778
views/pages
templ: version: v0.2.778
templ: version: v0.2.778
gen
gen
Some RPC functions aren't implemented like .Tx() and .TxSearch() because they are disable with the postgres indexer.
Some RPC functions aren't implemented like .Tx() and .TxSearch() because they are disable with the postgres indexer.
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳