Geth on Raspberry – not able to connect

I’ve installed a Geth full node on a Raspberry with IP 192.168.1.109 on my local network. When I try to connect via geth attach http://192.168.1.109:8545 it doesn’t connect with the following error: Fatal: Failed to start the JavaScript console: api modules: Post http://192.168.1.109:8545: dial tcp 192.168.1.109:8545: connect: connection refused These are my geth startup variables:…

Details

equihash: How to correctly calculate the hashrate of the miner on the pool?

I have a pool where the node open mining portal is raised (https://github.com/s-nomp/s-nomp). Z11 miners are connected to this pool, which mine horizen using the equihash algorithm. There are discrepancies between the hash rate of the miner and the hash rate of the pool. The miner’s description says that the maximum hashrate is 135ksol/s: https://www.asicminervalue.com/miners/bitmain/antminer-z11…

Details

WooCommerce – Display variation custom field value

I’m using the following function to add a custom field called “price_1_50” to each product variation: add_action( ‘woocommerce_variation_options_pricing’, ‘bbloomer_add_custom_field_to_variations’, 10, 3 ); function bbloomer_add_custom_field_to_variations( $loop, $variation_data, $variation ) { woocommerce_wp_text_input( array( ‘id’ => ‘price_1_50[‘ . $loop . ‘]’, ‘class’ => ‘short’, ‘label’ => __( ‘Price 1-50:’, ‘woocommerce’ ), ‘value’ => get_post_meta( $variation->ID, ‘price_1_50’, true )…

Details

Nginx Access-Control-Allow-Origin with proxy

I am having problems with Access-Control-Allow-Origin header. I have example.com for PHP website and node.example.com for nodejs application which listens port 4000. When I try to open WebSocket connection to node.example.com from example.com I get CORS error. If I use Nginx config below, add_header Access-Control-Allow-Origin “*”; location ~ ^/(chat|socket\.io) { proxy_pass https://127.0.0.1:4000; proxy_http_version 1.1; proxy_set_header…

Details

aws ssm start-session .. AWS-StartPortForwardingSession .. hangs

I am trying to set up port forwarding between my local PC and an AWS EC2 based on the AWS SSM port forwarding article instance like this: aws ssm start-session –target i-0822c9a6c52ca7394 \ –document-name AWS-StartPortForwardingSession –parameters \ ‘{“portNumber”:[“55555″],”localPortNumber”:[“6666”]}’ I already use SSM to access the instance (using ssm-session) and have used it to start python…

Details