Coder Social home page Coder Social logo

bonesoul / coiniumserv Goto Github PK

View Code? Open in Web Editor NEW
792.0 129.0 495.0 11.3 MB

Next-gen crypto currency mining pool software

License: Other

Shell 0.01% JavaScript 32.23% C# 50.19% CSS 13.94% HTML 3.64%
bitcoin csharp stratum pool server vardiff pool-server scrypt payment cryptocurrency

coiniumserv's Introduction

coiniumserv's People

Contributors

a432511 avatar adenner avatar ahmedbodi avatar benhc123 avatar bonesoul avatar caberhagen avatar computeronix avatar cryptosi avatar daliwangi avatar daygle avatar felixonmars avatar gamers-coin avatar hashunlimited avatar ilushka85 avatar jeong760 avatar lubuzzo avatar nuggetbram avatar patricbr avatar renovate-bot avatar sovereignshare avatar trann3l avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coiniumserv's Issues

Upstream Pool & Proxy Support

Connect to an upstream pool to fetch work and then submit shares back to that. normally to be used with p2pool

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2797952-upstream-pool-proxy-support?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github).

Fix path issues with *nix & mono

we are having path issues with *nix;

  • logging (log\ -> should be log/)
  • config\pools -> config/pools
  • config\coins -> config/coins

Merged Mining

Implement a GotWork Eloipool Like system

Reference Proxy for later converstion to C#:
https://github.com/give-me-coins/eloipool-scrypt/blob/master/contrib/merged-mine-proxy

Example GotWork Code from eloipool:

if gotwork and blkhashn <= config.GotWorkTarget:
        try:
            coinbaseMrkl = cbtxn.data
            coinbaseMrkl += blkhash
            steps = workMerkleTree._steps
            coinbaseMrkl += pack('B', len(steps))
            for step in steps:
                coinbaseMrkl += step
            coinbaseMrkl += b"\0\0\0\0"
            info = {}
            info['hash'] = b2a_hex(blkhash).decode('ascii')
            info['header'] = b2a_hex(data).decode('ascii')
            info['coinbaseMrkl'] = b2a_hex(coinbaseMrkl).decode('ascii')
            thr = threading.Thread(target=submitGotwork, args=(info,))
            thr.daemon = True
            thr.start()
        except:
            checkShare.logger.warning('Failed to build gotwork request')

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2152585-merged-mining?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github).

Create mockups & tests that simulates a live data capture

Null reference exception with mono/ninject

seems we have to use ninject for mono - download page lists the build-server;

but the thing how we'll get this automated?

as we are building a server application we mainly target mono + linux - and without getting this automated, ninject will just harm.

more interestingly;

ninject/Ninject#126

they're dropping support for mono - which is quite something I'm not happy with.

Ninject 4.0 will drop support for .NET < 4.0 (and therefore Mono < 4.0)
support so that we can use concurrent collections. For .NET 3.5 application
we will keep bugfixing Ninject 3.x but not add any new features.

and again i'm quite not happy with cryptic errors & exceptions of ninject which made me consider getting it out of the project and instead implement our own dependency injection pattern -- yes we can't have the nifty feature of ninject -- but if we follow our current pattern with a few resolvers we can handle the job i guess..

I vote for the DI pattern for sure but usability should be our main priotry. Wanted to hear you guys opinions.

P2P Support

Submit blocks to a P2P Port to upstream bitcoind like eloipool

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2797939-p2p-support?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github).

0.0.1

Implement a basically working initial implementation.

BitcoinSharp vs BitcoinLib

Currently we BitcoinSharp (https://github.com/BitKoot/BitcoinRpcSharp) for our coind implementation but another alternative is BitcoinLib (https://github.com/GeorgeKimionis/BitcoinLib).

Although they are quite similar, we should be comparing them both.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2111447-bitcoinsharp-vs-bitcoinlib?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github).

Coin Switching via HTTP JSON Port

Implement SetWorkAux Like interface however to be used for switching coins.


13:41 <ahmed_> coin switching via CLI or a JSON-RPC api (maybe connect to the getwork port, submit a request and then perform that action)
13:41 <ahmed_> thats how merged mining currently works with eloipool
13:41 <ahmed_> raistlinthewiz: ^
13:41 and we can even support a p2pool like system :)
13:41 <ahmed_> yep
13:42 so you just tell eloipool to switch the coin over json-rpc?
13:42 <ahmed_> atm you cant
13:42 we can have that and even make the coiniumserv to switch on it's own
13:42 <ahmed_> but thats something you can implement
13:42 <ahmed_> what eloipool does do on its getwork port
13:42 just add all thoses to issues list so we won't forget them :)
13:42 <ahmed_> is listen for a request from a specific username which gives it the merged mining work
13:42 <ahmed_> and then it adds that work to the current block template

13:43 <ahmed_> (its called the setworkaux interface)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2798026-coin-switching-via-http-json-port?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github).

“Could not load type ‘NuGet.Commands.ProjectFactory

When compiling the project with ubuntu 13.10;

“Could not load type ‘NuGet.Commands.ProjectFactory’ from assembly ‘NuGet, Version=2.0.30619.9000, Culture=neutral, PublicKeyToken=null’.”

The solution;

So you will need a copy of C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Microsoft.Build.dll in the same location as nuget.exe so mono can find it

.net based bitcoin libraries & helpers

implement authentication support for getwork

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2111441-implement-authentication-support-for-getwork?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github).

Ubuntu setup

I am attempting to install on Ubuntu 12.04 and getting a lot of errors. I have installed mono as well as NuGet. When I run mono --runtime=v4.0 build/.nuget/NuGet.exe restore according to the install instructions I get This folder contains no solution files, nor packages.config files. If I try to compile the program from the SNL I get 8 warnings and 14 errors stating

Server/Vanilla/VanillaMiner.cs(23,7): error CS0246: The type or namespace name AustinHarris' could not be found. Are you missing a using directive or an assembly reference? Server/Vanilla/VanillaService.cs(19,7): error CS0246: The type or namespace nameAustinHarris' could not be found. Are you missing a using directive or an assembly reference?
Server/Stratum/StratumMiner.cs(21,7): error CS0246: The type or namespace name AustinHarris' could not be found. Are you missing a using directive or an assembly reference? Server/Stratum/StratumService.cs(19,7): error CS0246: The type or namespace nameAustinHarris' could not be found. Are you missing a using directive or an assembly reference?
Server/Stratum/Notifications/Job.cs(26,7): error CS0246: The type or namespace name Gibbed' could not be found. Are you missing a using directive or an assembly reference? Common/Configuration/JsonConfigReader.cs(20,7): error CS0246: The type or namespace nameJsonConfig' could not be found. Are you missing a using directive or an assembly reference?
Common/Extensions/ArrayExtensions.cs(23,7): error CS0246: The type or namespace name Gibbed' could not be found. Are you missing a using directive or an assembly reference? Common/Logging/Logging.cs(21,7): error CS0246: The type or namespace nameJsonConfig' could not be found. Are you missing a using directive or an assembly reference?
Coin/Helpers/Serializers.cs(24,7): error CS0246: The type or namespace name Gibbed' could not be found. Are you missing a using directive or an assembly reference? Coin/Coinbase/CoinbaseUtils.cs(25,7): error CS0246: The type or namespace nameGibbed' could not be found. Are you missing a using directive or an assembly reference?
Coin/Transactions/GenerationTransaction.cs(31,7): error CS0246: The type or namespace name `Gibbed' could not be found. Are you missing a using directive or an assembly reference?

     8 Warning(s)
     14 Error(s)

The folders are in the original format as downloaded from git. What do I need to do to get this running?

GetBlock Template JSON Error

JSON parse error when calling GetBlockTemplate from the coind
Needed By:
GetBlockTemplate(protocol)
Stratum (protocol)

Coin & Pool setup and config files

Hi! I really love your new project! Id love to use it on my servers. We compiled everything needed to run coinium, only thing im not able to figure out is coin config. You have this saying on default.conf : " ; To configure per-pool options, create a config file for the desired pool in conf/ and use the pool-sample.conf. " What does that mean? In that file " sample.conf" is litecoin like setup, but i dont know to what file should i rename it or how to force coinium to use that config file bcs when im starting the coinium it points itself to port 3333 by default. So please help if you can. Again I really love your project! :)

Protocol idea: google protocol buffers + msgpack + bson

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2111611-protocol-idea-google-protocol-buffers-msgpack-bson?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github).

Database Templates

Template DB Queries so we can use any type of db like MPOS v2 will do

Implement http headers for stratum

https://github.com/pocesar/node-stratum/blob/master/lib/client.js#L195

  • + stratum over http support.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2246235-implement-http-headers-for-stratum?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github).

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.