Skip to content

Instantly share code, notes, and snippets.

@cc32d9
cc32d9 / nodeos_full_node_setup.txt
Last active August 2, 2023 13:21
nodeos installation with ZFS
apt-get update && apt-get install -y aptitude git lxc-utils zfsutils-linux netfilter-persistent sysstat
# find the partition ID that is linked to the storage serial number.
# This will prevent from losing the partition if disk mapping changes
ls -l /dev/disk/by-id/ | grep sda6
zpool create -f zdata /dev/disk/by-id/wwn-0x600507604092b628236df4851535cef5-part6
## Fixate internal IP address of the container
systemctl stop lxc-net
sed -i -e 's,^.*LXC_DHCP_CONFILE,LXC_DHCP_CONFILE,' /etc/default/lxc-net
@tbfleming
tbfleming / main.abi
Last active October 20, 2021 14:06
cib eos demo: Track incoming funds
{
"structs": [{
"name": "withdraw",
"base": "",
"fields": [
{"name":"user", "type":"account_name"}
]
},{
"name": "balance",
"base": "",