Skip to content

Implementation of consensus node from any-sync protocol

License

Notifications You must be signed in to change notification settings

anyproto/any-sync-consensusnode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Any-Sync Consensus Node

Implementation of consensus node from any-sync protocol.

Building the source

To ensure compatibility, please use Go version 1.22.

To build and run the Any-Sync Consensus Node on your own server, follow these technical steps:

  1. Clone the Any-Sync Consensus Node repository to your local machine.
  2. Navigate to the root directory of the repository, where you will find a Makefile.
  3. Run the following commands to install the required dependencies and build the Any-Sync Consensus Node.
    make deps
    make build
    
  4. If there are no errors, the Any-Sync Consensus Node will be built and can be found in the ./bin directory.

Running

You will need a MongoDB in replica set mode to run Any-Sync Consensus Node.

Any-Sync Consensus Node requires a configuration. You can generate configuration files for your nodes with any-sync-network tool.

The following options are available for running the Any-Sync Consensus Node:

  • -c — path to config file (default etc/any-sync-consensusnode.yml).
  • -v — current version.
  • -h — help message.

Contribution

Thank you for your desire to develop Anytype together!

❤️ This project and everyone involved in it is governed by the Code of Conduct.

🧑‍💻 Check out our contributing guide to learn about asking questions, creating issues, or submitting pull requests.

🫢 For security findings, please email [email protected] and refer to our security guide for more information.

🤝 Follow us on Github and join the Contributors Community.


Made by Any — a Swiss association 🇨🇭

Licensed under MIT License.