broadcast

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0, BSD-2-Clause, Apache-2.0 Imports: 8 Imported by: 0

README

broadcast

A plugin for IOTA's GoShimmer Node to broadcast every message on the message layer and write it to active TCP connections over port 5050.

Installation

Move the project's folder into your goshimmer/plugins/ folder.

In goshimmer/plugins/research.go add the following line:

broadcast.Plugin(),

in the node.Plugins(...) list.

You may need to recompile the goshimmer software.

In the config.json you need to add "broadcast" to the "node" sections as followed:

"node": {
"disablePlugins": [],
"enablePlugins": ["broadcast"]
},

Usage

Just connect to the plugin's port 5050 and you get the messages in real time as long as you are connected. A maximum of 256 Connections are possible before it throws errors.

Donations

If you want to keep me motivated to do more open source stuff you can donate me some IOTA's. Even very small amounts makes me happy:

iota1qqvrqjfscx5ax7vnt8mmtmzj30af3xf7zfm8t7lnaxyrt73awgqckz02upv

GitHub Project

https://github.com/arne-fuchs/broadcast

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Parameters = &ParametersDefinition{}

Parameters contains the configuration parameters of the broadcast plugin.

View Source
var (
	// Plugin defines the plugin instance of the broadcast plugin.
	Plugin *node.Plugin
)

Functions

This section is empty.

Types

type ParametersDefinition

type ParametersDefinition struct {
	// BindAddress defines on which address the broadcast plugin should listen on.
	BindAddress string `default:"0.0.0.0:5050" usage:"the bind address for the broadcast plugin"`
}

ParametersDefinition contains the configuration parameters used by the plugin.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL