Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/MyWishPlatform/eosio_block_subscription_plugin


https://github.com/MyWishPlatform/eosio_block_subscription_plugin

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

Clone repo:
```bash
eos/plugins]$ git clone https://github.com/MyWishPlatform/eosio_block_subscription_plugin/
eos/plugins]$ mv eosio_block_subscription_plugin block_subscription_plugin
```


Modify eos/plugins/CMakeLists.txt:
```
...
add_subdirectory(block_subscription_plugin)
...
```


Modify eos/programs/nodeos/CMakeLists.txt:
```
...
PRIVATE -Wl,${whole_archive_flag} block_subscription_plugin -Wl,${no_whole_archive_flag}
...
```


Compile:
```bash
eos/build]$ make
eos/build]$ sudo make install
```


Add to config.ini:
```
...
block-subscription-interval = 500 # If you need other accepted blocks interval than default 1000
...
plugin = eosio::block_subscription_plugin
...
```