Coder Social home page Coder Social logo

go-vocchain's Introduction

Go-Vocchain

Official Golang implementation of the Vocchain protocol.

Binary archives are published at https://www.voconline.io/#download

Runing

voc-core --conf=~/.voc/config.conf --datadir=~/.voc

PROGRAMMATICALLY INTERFACING VOC-CORE NODES User flag

--listen Enable the HTTP-RPC server  
--host HTTP-RPC server listening interface (default: localhost)  
--port HTTP-RPC server listening port (default: 9333)  
--user  HTTP-RPC server UserName  
--password HTTP-RPC server Password  

User config

[rpc]
host=127.0.0.1  
port=9333  
rpcuser=345345354  
rpcpassword=12323234  
rpcallowip=127.0.0.1,192.168.1.222,0.0.0.0
Note: Please understand the security implications of opening up an HTTP/WS based transport before doing so! Hackers on the internet are actively trying to subvert VocChain nodes with exposed APIs! Further, all browser tabs can access locally running web servers, so malicious web pages could try to subvert locally available APIs!

CONFIG EXAMPLE
[data]
datadir=d:/Voctest
listen=1
server=1

[p2p]
# p2p-listen-endpoint = 0.0.0.0:9332
# p2p-server-address =
# p2p-peer-address =
# p2p-max-nodes-per-host = 1
# agent-name = "VOC Node
# allowed-connection = any
# peer-key =
# sync-fetch-span = 100 
# max-clients = 25
# connection-cleanup-period = 30
# max-cleanup-time-msec = 10
# network-version-match = 0

[rpc]
host=127.0.0.1
port=9333
rpcuser=345345354
rpcpassword=12323234
rpcallowip=127.0.0.1,192.168.1.2

[wallet]
fee=0.001

go-vocchain's People

Contributors

vocchain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.