[go-nuts] Trying to import etherum in go

2023-01-21 Thread ramki...@hotmail.com
Example/Test Code: https://pastebin.com/PaeuHuJx But I get the error go run main.go main.go:11:2: no required module provides package github.com/ethereum/go-ethereum/ethash; to add it: go get github.com/ethereum/go-ethereum/ethash tt@ubuntu:~/go/src/testing$ go get github.com/ethereum/g

[go-nuts] Looking to maximize performance when using ethereum-ethash

2022-09-23 Thread ramki...@hotmail.com
I tried using bench on AWS servers (the most expensive Compute and Memory Optimized ones) on https://github.com/hackmod/ethereum-ethash/blob/master/ethash_test.go#L88 but for each server (from 2 cores all the way to 64 cores) they all give similar numbers 9-12 seconds. cpu: Intel(R) Xeon(R) Pl

[go-nuts] Single Job to Multi Job

2022-09-17 Thread ramki...@hotmail.com
I have a tcp server that collects jobs (lets say 10), and tcp clients get the jobs. This is done in a FIFO method, where the first job the server gets, all tcp clients get that job. When that job is completed, all tcp clients get the second job etc etc. I'm trying to find a way/term (so that I

Re: [go-nuts] Is this a possible bug with pipe

2022-09-14 Thread ramki...@hotmail.com
When I submitted it as a bug, this is what I got. https://github.com/golang/go/issues/55029 By chance, do you know what is a buffering for io.Copy? On Monday, September 12, 2022 at 5:26:21 PM UTC-4 Jan Mercl wrote: > On Mon, Sep 12, 2022 at 11:16 PM ramki...@hotmail.com > wrote: >

[go-nuts] Is this a possible bug with pipe

2022-09-12 Thread ramki...@hotmail.com
I created a TCP Proxy using io.copy (which creates a splice). Here is the code. Proxy TCP Server - https://pastebin.com/iAcFjmV1 Regular TCP Server - https://pastebin.com/V6AN7atV When using telent to port 8080, the proxy starts and everything typed in the telnet will be returned. After 10 seco

[go-nuts] Re: Changes in the language/ Compile Go

2022-08-27 Thread ramki...@hotmail.com
Think I found it here https://go.dev/doc/install/source On Saturday, August 27, 2022 at 5:28:50 PM UTC-4 ramki...@hotmail.com wrote: > I wanted to make changes to golang io package. If I fork golang from > github (https://github.com/golang/go) and make the changes, how do I > acc

[go-nuts] Changes in the language/ Compile Go

2022-08-27 Thread ramki...@hotmail.com
I wanted to make changes to golang io package. If I fork golang from github (https://github.com/golang/go) and make the changes, how do I access these changes in my go project? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from

[go-nuts] Re: Go multiplexers

2022-08-21 Thread ramki...@hotmail.com
r of your application protocol needs multiplexing > inside an established TCP connection, either because there are multiple > destinations or multiple streams inside a single connection. > > > On Saturday, August 20, 2022 at 10:31:34 PM UTC+2 ramki...@hotmail.com > wrote:

Re: [go-nuts] Go multiplexers

2022-08-20 Thread ramki...@hotmail.com
ean > > On Sat, Aug 20, 2022, 21:31 ramki...@hotmail.com > wrote: > >> Has anyone ever used a multiplexer <https://github.com/hashicorp/yamux>? >> When creating a TCP server using multiplexer, I get an error [ERR] yamux: >> Invalid protocol version: 102 when us

Re: [go-nuts] Go multiplexers

2022-08-20 Thread ramki...@hotmail.com
Can you tell me how I can figure out what it speaks? On Saturday, August 20, 2022 at 7:01:00 PM UTC-4 se...@liao.dev wrote: > yamux uses its own protocol, it doesn't speak telnet > > - sean > > On Sat, Aug 20, 2022, 21:31 ramki...@hotmail.com > wrote: > >> Ha

[go-nuts] Go multiplexers

2022-08-20 Thread ramki...@hotmail.com
Has anyone ever used a multiplexer ? When creating a TCP server using multiplexer, I get an error [ERR] yamux: Invalid protocol version: 102 when using Telnet to connect to the server. package main import ( "fmt" "net" "github.com/hashicorp/yamux