See also:
- https://github.com/CityOfZion/neo-python/blob/development/api-server.py
- https://github.com/CityOfZion/standards/blob/master/nodes.md
Start a server (eg. based on Ubuntu 17.10)
Basic system setup
sudo su
See also:
Start a server (eg. based on Ubuntu 17.10)
Basic system setup
sudo su
Context: https://www.youtube.com/watch?v=4M1jWsD0KJQ
Docker commands
docker rm $( docker ps -qa ) -f
docker run --rm -d --name neo-privatenet -p 20333-20336:20333-20336/tcp -p 30333-30336:30333-30336/tcp cityofzion/neo-privatenet
docker exec -it neo-privatenet /bin/bash
Inside the container
--- | |
- hosts: all | |
gather_facts: false | |
become: yes | |
tasks: | |
- name: Pull sources from the repository | |
become_user: node | |
shell: git pull | |
args: |
# http://editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 2 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
function update_in_place(old_root, new_root) { | |
function are_compatible(lhs, rhs) { | |
return lhs.nodeType === rhs.nodeType && lhs.tagName === rhs.tagName && lhs.id === rhs.id | |
} | |
if (old_root.nodeType === 3 && new_root.nodeType === 3) { | |
old_root.textContent = new_root.textContent; | |
return old_root | |
} | |
if (!are_compatible(old_root, new_root) || old_root.nodeType !== 1) { | |
old_root.parentElement.replaceChild(new_root, old_root); |
/* | |
Example for using CloudWatch in Golang. | |
- https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html | |
- https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/working_with_metrics.html | |
Install dependencies: | |
go get github.com/aws/aws-sdk-go github.com/google/uuid github.com/zhexuany/wordGenerator |
List of mev-boost builder payout addresses.
Who | Address | ENS |
---|---|---|
Flashbots | 0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5 | flashbots-builder.eth |
bloXroute (max-profit) | 0xf2f5c73fa04406b1995e397b55c24ab1f3ea726c | bloxroute-maxprofit.eth |
bloXroute (non-sandwich) | 0xf573d99385c05c23b24ed33de616ad16a43a0919 | bloxroute-ethical.eth |
bloXroute (regulated) | 0x199d5ed7f45f4ee35960cf22eade2076e95b253f | [bloxroute-regulated.eth](https://etherscan.io/enslo |
""" | |
Quick and dirty script to download the delivered payloads from relay data API and write into CSV file. | |
Relays: | |
https://boost-relay.flashbots.net | |
https://bloxroute.max-profit.blxrbdn.com | |
https://bloxroute.ethical.blxrbdn.com | |
https://bloxroute.regulated.blxrbdn.com | |
https://builder-relay-mainnet.blocknative.com |
# Script to print mev-boost bids with increasing value over time per slot, over a range of slots | |
# | |
# - Output format: slot \t ms_sice_first_bid \t value | |
# - Example output: | |
# | |
# 5796970 0 5449783315635486 | |
# 5796970 382 5846633010618753 | |
# 5796970 383 10851145321068865 | |
# 5796970 905 11416821942543104 | |
# |