Code Monkey home page Code Monkey logo

go-etchash's People

Contributors

iquidus avatar meowsbits avatar q9f avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-etchash's Issues

panic: runtime error: invalid memory address or nil pointer dereference

When using
var hasher = etchash.New(nil, nil)
after sending the first solution, this error occurs and the pool is disconnected

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x750440]
goroutine 8070 [running]:
github.com/etclabscore/go-etchash.(*Light).getCache(0xc00018ee80, 0x731031, 0x1)
        /pool/build/_workspace/src/github.com/etclabscore/go-etchash/etchash.go:513 +0x480
github.com/etclabscore/go-etchash.(*Light).Verify(0xc00018ee80, 0x898300, 0xc0000ffb60, 0xc0000ffb60)
        /pool/build/_workspace/src/github.com/etclabscore/go-etchash/etchash.go:446 +0x10a
github.com/sammy007/open-ethereum-pool/proxy.(*ProxyServer).processShare(0xc00010c280, 0xc000bdcdb0, 0x2a, 0xc000bdcdab, 0x5, 0xc001740ea0, 0xd, 0xc000168000, 0xc00018ee40, 0x3, ...)
        /pool/build/_workspace/src/github.com/sammy007/open-ethereum-pool/proxy/miner.go:53 +0x4aa
github.com/sammy007/open-ethereum-pool/proxy.(*ProxyServer).handleSubmitRPC(0xc00010c280, 0xc0017a6000, 0xc000bdcdb0, 0x2a, 0xc000bdcdab, 0x5, 0xc00018ee40, 0x3, 0x4, 0x79d7a0, ...)
        /pool/build/_workspace/src/github.com/sammy007/open-ethereum-pool/proxy/handlers.go:88 +0x1ab
github.com/sammy007/open-ethereum-pool/proxy.(*ProxyServer).handleTCPSubmitRPC(0xc00010c280, 0xc0017a6000, 0xc000015410, 0x5, 0xc00018ee40, 0x3, 0x4, 0xe9, 0x0)
        /pool/build/_workspace/src/github.com/sammy007/open-ethereum-pool/proxy/handlers.go:69 +0xee
github.com/sammy007/open-ethereum-pool/proxy.(*Session).handleTCPMessage(0xc0017a6000, 0xc00010c280, 0xc00040a6e0, 0x7928c0, 0xc00040a6e0)
        /pool/build/_workspace/src/github.com/sammy007/open-ethereum-pool/proxy/stratum.go:700 +0x5fc
github.com/sammy007/open-ethereum-pool/proxy.(*ProxyServer).handleTCPClient(0xc00010c280, 0xc0017a6000, 0xc0016eb7b8, 0x75a21f)
        /pool/build/_workspace/src/github.com/sammy007/open-ethereum-pool/proxy/stratum.go:663 +0x27f
github.com/sammy007/open-ethereum-pool/proxy.(*ProxyServer).ListenTCP.func3(0xc00010c280, 0xc0016f6030, 0x899e40, 0xc0004020e0, 0xc000626000, 0xc0017a6000)
        /pool/build/_workspace/src/github.com/sammy007/open-ethereum-pool/proxy/stratum.go:625 +0x39
created by github.com/sammy007/open-ethereum-pool/proxy.(*ProxyServer).ListenTCP
        /pool/build/_workspace/src/github.com/sammy007/open-ethereum-pool/proxy/stratum.go:624 +0x670

lol

hello ... remember ubiqhash and how it fell in price ... you would like only video cards to be mining ... and what, your coin went to the bottom ...
Now imagine, you are doing etchash, you are planning to attract 3 gigabytes, 4 gigabytes of video cards to mining .... and what's the point? these video cards, compared to modern ones, consume more electricity ... a modern 8 gigabyte card consumes 70 watts .... while older cards consume 150-180 watts of energy ... you as ubiqhash destroy the coin .... you were asked - pirlguard


привет... вспомните ubiqhash и как он упал в цене..... вы, хотели, что бы майнингом занимались только видеокарты..... и что? - Ваша монета ушла на дно....
а теперь представьтье, вы делаете etchash , вы планируте привлечь к майнингу видеокарты 3 гигабата, 4 гигабайта.... а в чем смысл? эти видео карты, по сравнению с современныменными, потребляют больше электричичесва..... современная карта на 8 гигабайт, потребляет 70 ватт.... в то время как более древние карты потребляют 150- 180 ватт энергиии...., вы, как ubiqhash уничтожите монету.... вам было предложено - pirlguard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.