Skip to content

WhiteWalker608/ActionsTest

 
 

Repository files navigation

OpenWeaver is a framework that provides components to easily deploy a high-performance relay network across a global cluster of nodes. Design goals include:

  • Speed - Latency optimized relaying
  • Efficiency - Low resource consumption
  • Blockchain-agnostic - Supports multiple blockchains in the same core network
  • Multilingual - Supports projects written in different languages
  • Streamlined - Easy to deploy and manage

Cloning

The repository has submodules, so be sure to clone recursively using

$ git clone --recurse-submodules https://github.com/marlinprotocol/OpenWeaver.git

Alternatively, you can checkout submodules after cloning as well using

$ git submodule update --init --recursive

Building

The codebase is a standard C++/CMake project.

$ mkdir build && cd build  # to create a build directory

$ cmake .. -DCMAKE_BUILD_TYPE=Release && make -j8  # to build

Notable binaries

After building, you can find the following binaries in the build directory:

  • ./beacon/server - Beacon server
  • ./relay/masterexec - Master node
  • ./relay/relayexec - Relay node
  • ./goldfish/goldfish - Toy network for local testing
  • ./multicastsdk/msggen - Message flooding tool for testing/benchmarking

Integrations

  • Ethereum - A bridge between Ethereum nodes and the core network is built at ./integrations/eth/onramp_eth

Running locally

After building,

  1. Set up a beacon - ./beacon/server
  2. Set up a master - ./relay/masterexec "127.0.0.1:8002"
  3. Set up a relay - ./relay/relayexec "127.0.0.1:8002"

You now have a local network running. In a production setting, you would want to run these in different instances as a globally distributed network.

Testing

OpenWeaver has a test suite that's integrated with CTest. After building, tests can be run using

$ make test

or

$ ctest

Support

Topic Link
Development Discord
Research Discourse
Bug(s) Issues
Memes Telegram
Spam [email protected]

License

Copyright (c) 2020 Marlin Contributors. Licensed under the MIT license. See LICENSE for more information.

Includes third party software in the vendor directory with their own licenses.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.0%
  • CMake 11.1%
  • Other 0.9%