Skip to content

Commit

Permalink
Merge pull request #210 from CoiniumServ/develop
Browse files Browse the repository at this point in the history
Sync master with develop branch.
  • Loading branch information
Hüseyin Uslu committed Jul 2, 2014
2 parents bddf26b + 9a053d0 commit 9c10e4d
Show file tree
Hide file tree
Showing 462 changed files with 22,446 additions and 4,397 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "deps/json-rpc.net"]
path = deps/json-rpc.net
url = https://github.com/CoiniumServ/JSON-RPC.NET.git
[submodule "deps/gibbed.io"]
path = deps/gibbed.io
url = https://github.com/CoiniumServ/Gibbed.IO.git
[submodule "deps/jsonconfig"]
path = deps/jsonconfig
url = https://github.com/CoiniumServ/JsonConfig.git
35 changes: 19 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
language: objective-c

env:
global:
- EnableNuGetPackageRestore=true
matrix:
- MONO_VER="2.10.12" Package="dmg"
global:
- secure: "jan4aHikK+XOsBfJrhbFnrFlhAJ7p31z2KiXxoviFmO+5gIsZuhaEIniA5Kx/27rakj0CphoXxGL77WAYiEuVGJKl5j2j55zCYxSrs3ux7OuDut7A3NmwFXD65XcU75Pj12O3YMN96FKSY1ESdf0SBnti+hvgGDgIM47MOFWxME="
- EnableNuGetPackageRestore=true
matrix:
- MONO_VER="3.2.7" Package="pkg"
- MONO_VER="3.4.0" Package="pkg"

before_install:
- wget "http://download.mono-project.com/archive/${MONO_VER}/macos-10-x86/MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.${Package}"
- chmod +x ./build/extra/travis-build.sh
- ./build/extra/travis-build.sh

- wget "http://download.mono-project.com/archive/${MONO_VER}/macos-10-x86/MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.${Package}"
- chmod +x ./build/extra/travis-build.sh
- ./build/extra/travis-build.sh
script:
- xbuild build/CoiniumServ.sln

- xbuild build/CoiniumServ.sln
- chmod +x ./build/extra/run-tests.sh
- ./build/extra/run-tests.sh
notifications:
irc: chat.freenode.net#coinium-dev
email: false

notifications:
irc: "chat.freenode.net#coinium-dev"
email: false
addons:
coverity_scan:
project:
name: CoiniumServ/CoiniumServ
description: C# Mono/.Net based crypto currency mining pool software
build_command_prepend:
build_command: xbuild build/CoiniumServ.sln
branch_pattern: coverity_scan
113 changes: 81 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,71 @@
![Screenshot](http://coinium.org/assets/images/logo/coinium-icon.png)
# CoiniumServ [![Build Status](https://travis-ci.org/CoiniumServ/CoiniumServ.svg?branch=develop)](https://travis-ci.org/CoiniumServ/CoiniumServ) [![Build status](https://ci.appveyor.com/api/projects/status/3x349ig9dt14943t)](https://ci.appveyor.com/project/raistlinthewiz/coiniumserv)
# ![Screenshot](http://coinium.org/assets/images/logo/coinium-icon-48.png) CoiniumServ [![Build Status](https://travis-ci.org/CoiniumServ/CoiniumServ.svg?branch=develop)](https://travis-ci.org/CoiniumServ/CoiniumServ) [![Build status](https://ci.appveyor.com/api/projects/status/3x349ig9dt14943t)](https://ci.appveyor.com/project/raistlinthewiz/coiniumserv)

CoiniumServ is a high-performance pool-server implementation developed with C# that can host multiple pools together with their own wallet-daemon connections and ports.
[CoiniumServ](https://github.com/CoiniumServ/CoiniumServ) is an high performance, extremely efficient, platform-agnostic, easy to setup pool server implementation. It features a stratum and vanilla services, reward / payment / share processors, user-friendly front-end website and a full-stack API.

* http://www.coinium.org
* Read the [FAQ](https://github.com/CoiniumServ/CoiniumServ/wiki/FAQ) and check the [wiki](https://github.com/CoiniumServ/CoiniumServ/wiki/) before asking!
* IRC (**irc.freenode.net**):
- **#coinium-serv** [user support](http://webchat.freenode.net/?channels=%23coinium-serv&prompt=1&uio=OT10cnVlde)
- **#coinium-dev** [dev talk](http://webchat.freenode.net/?channels=%23coinium-dev&prompt=1&uio=OT10cnVlde)
- **#coinium** [official pools](http://webchat.freenode.net/?channels=%23coinium&prompt=1&uio=OT10cnVlde)
* [@coinium](http://twitter.com/coinium)
* [Bitcointalk.org](https://bitcointalk.org/index.php?topic=604476.0)
CoiniumServ was created to be used for [Coinium.org](http://www.coinium.org) mining pool network at first hand. You can check [some of pools](https://github.com/CoiniumServ/CoiniumServ/wiki/Pools) of the pools running CoiniumServ.

* Official pools: [coinium.org](http://www.coinium.org)
* Official site: [coiniumserv.com](http://www.coiniumserv.com)

![CoiniumServ running over mono & ubuntu](http://i.imgur.com/izIB5nq.png)

### Features
* Stratum server (over socket server).
* Vanilla (getwork) server (over http server).
* getblocktemplate & job-manager support.
* Coin wallet daemon rpc connection support.

###### Platform Agnostic
Can run on any platforms that C# can live in;
* *nix (including Linux) over mono
* Windows over DotNet.

###### Multiplexed Structure
* Multiple pools & ports.
* Multi-pool (switched) mining support.
* Multiple coin daemon connections.
* Multiple database layers.

###### Functionality
* Stratum server (over sockets) support. [in-development]
* Vanilla server (getwork & getblocktemplate over http server) support. [in-development]

###### Development Model
* Strictly [follows](https://github.com/CoiniumServ/CoiniumServ/tree/develop/src/Tests) the [Test Driven Development](http://en.wikipedia.org/wiki/Test-driven_development) model. We have implemented extensive tests for all important functionality and never merge in code that breaks tests and stuff. Yet again, when a new functionality is introduced we also expect proper tests to be implemented within the PR. In simple words, most probably you won't notice any functionality-breaking changes within the repository.
* A strict ruleset for the [Development Model](https://github.com/CoiniumServ/CoiniumServ/wiki/Development-Model). You can follow our bleeding-edge [Develop](https://github.com/CoiniumServ/CoiniumServ) branch or stay with-in the stable [Master](https://github.com/CoiniumServ/CoiniumServ/tree/master) branch.

### About

Coinium is an effort to bring crypto-coins to C# space and create a reference pool software implementation. It can be compiled with Microsoft .NET or Mono, which means you can run it on Windows, MacOS, and Linux. Please see the file LICENSE for license details.
### Getting Started

Make sure you check our [Getting Started](https://github.com/CoiniumServ/CoiniumServ/wiki/Getting-Started) guide for installation instructions for *nix and Windows.

For Ubuntu, you can simply use our installer script;

```
wget -O - https://raw.githubusercontent.com/CoiniumServ/CoiniumServ/develop/assets/installer/ubuntu.sh | bash
```

### Documentation

* [Documentation & Wiki](https://github.com/CoiniumServ/CoiniumServ/wiki/)
* [FAQ](https://github.com/CoiniumServ/CoiniumServ/wiki/FAQ)
* [Master Plan](https://github.com/CoiniumServ/CoiniumServ/wiki/Master-Plan) ( & motivation)

### Requirements
### Support

* C# runtime (mono or dotnet)
* Coin daemon
Start by reading our [FAQ](https://github.com/CoiniumServ/CoiniumServ/wiki/FAQ) and [wiki](https://github.com/CoiniumServ/CoiniumServ/wiki/). If you need further help, join us over our user-support channel [#coinium-serv@freenode](http://webchat.freenode.net/?channels=%23coinium-serv&prompt=1&uio=OT10cnVlde).

### Building
You can also use our [issues](https://github.com/CoiniumServ/CoiniumServ/issues) page to report bugs.

* Check [Building & Running](https://github.com/CoiniumServ/CoiniumServ/wiki/Building-&-Running).
* IRC (**irc.freenode.net**):
- **#coinium-serv** [user support](http://webchat.freenode.net/?channels=%23coinium-serv&prompt=1&uio=OT10cnVlde)
- **#coinium-dev** [dev talk](http://webchat.freenode.net/?channels=%23coinium-dev&prompt=1&uio=OT10cnVlde)
- **#coinium** [official pools](http://webchat.freenode.net/?channels=%23coinium&prompt=1&uio=OT10cnVlde)
* [Twitter](http://twitter.com/coinium)
* [Bitcointalk.org](https://bitcointalk.org/index.php?topic=604476.0)

### Contributing

### Screenshots
Start reading by these;

![Screenshot](http://i.imgur.com/Pql7h0y.png)
* [Developer's Guide](https://github.com/CoiniumServ/CoiniumServ/wiki/Developer's-Guide)
* [Technical Documentation](https://github.com/CoiniumServ/CoiniumServ/wiki/Technical-Documentation)

### Donation

Expand All @@ -43,17 +75,34 @@ You can contribute the development of the project by donating;
* LTC: `LMXfRb3w8cMUBfqZb6RUkFTPaT6vbRozPa`
* DOGE: `D7mzHQtkWD9B1Xwnmjfg9x2DofbaZBg6Lc`

### Developers
###### Bounties

* [Developer's Guide](https://github.com/CoiniumServ/CoiniumServ/wiki/Developer's-Guide)
BountySource integration available over [here](https://www.bountysource.com/trackers/401667-coiniumserv). You can set bounties and solve them.


### Continious Integration
[![Bountysource](https://api.bountysource.com/badge/team?team_id=760&style=bounties_received)](https://www.bountysource.com/teams/coinium/issues?utm_source=Coinium&utm_medium=shield&utm_campaign=TEAM_BADGE_1)

###### Tips

Every build of CoiniumServ is built & tested over mono & dotnet.
* Mono: using mono 2.x and 3.x: [travis](https://travis-ci.org/CoiniumServ/CoiniumServ).
* Dotnet: using dotnet 4.x: [appveyor](https://ci.appveyor.com/project/raistlinthewiz/coiniumserv)
You can send tips and furher support the project or get tips for contributing by commiting.

[![tip for next commit](http://tip4commit.com/projects/760.svg)](http://tip4commit.com/projects/760)

### License
Check the [License](https://github.com/CoiniumServ/CoiniumServ/blob/develop/LICENSE) file.

Copyright (C) 2013 - 2014, Coinium & CoiniumServ Project - http://www.coinium.org

This software is dual-licensed: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

For the terms of this license, see [licenses/gpl_v3.txt](https://github.com/CoiniumServ/CoiniumServ/blob/develop/licenses/gpl_v3.txt).

Alternatively, you can license this software under a commercial
license or white-label it as set out in [licenses/commercial.txt](https://github.com/CoiniumServ/CoiniumServ/blob/develop/licenses/commercial.txt).

Binary file modified assets/Coinium.ico
Binary file not shown.
7 changes: 7 additions & 0 deletions assets/config/coins/21coin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "21coin",
"symbol": "21",
"algorithm": "sha256", │·····································
"peerMagic": "21212121", │·····································
"peerMagicTestnet": "01fefe05"
}
5 changes: 5 additions & 0 deletions assets/config/coins/365coin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "365coin",
"symbol": "365",
"algorithm": "keccak"
}
1 change: 1 addition & 0 deletions assets/config/coins/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CoiniumServ uses [nomp](https://github.com/zone117x/node-open-mining-portal/tree/master/coins) compatible format for coin configs.
7 changes: 7 additions & 0 deletions assets/config/coins/alphacoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Alphacoin",
"symbol": "ALF",
"algorithm": "scrypt",
"peerMagic": "fbc0b6db",
"peerMagicTestnet": "fcc1b7dc"
}
5 changes: 5 additions & 0 deletions assets/config/coins/anoncoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Anoncoin",
"symbol": "ANC",
"algorithm": "scrypt"
}
6 changes: 6 additions & 0 deletions assets/config/coins/applecoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Applecoin",
"symbol": "APC",
"algorithm": "scrypt-jane",
"chainStartTime": 1384720832
}
5 changes: 5 additions & 0 deletions assets/config/coins/arkenstone.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Arkenstone",
"symbol": "ARS",
"algorithm": "sha256"
}
5 changes: 5 additions & 0 deletions assets/config/coins/arkhash.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Arkhash",
"symbol": "ARK",
"algorithm": "sha256"
}
5 changes: 5 additions & 0 deletions assets/config/coins/asiccoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "ASICcoin",
"symbol": "ASC",
"algorithm": "sha256"
}
5 changes: 5 additions & 0 deletions assets/config/coins/auroracoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Auroracoin",
"symbol": "AUR",
"algorithm": "scrypt"
}
7 changes: 7 additions & 0 deletions assets/config/coins/battlecoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Battlecoin",
"symbol": "BCX",
"algorithm": "sha256",
"peerMagic": "03e803e4",
"peerMagicTestnet": "cdf2c0ef"
}
7 changes: 7 additions & 0 deletions assets/config/coins/benjamins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Benjamins",
"symbol": "BEN",
"algorithm": "sha256",
"peerMagic": "de698778", │·····································
"peerMagicTestnet": "0b110907"
}
5 changes: 5 additions & 0 deletions assets/config/coins/betacoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Betacoin",
"symbol": "BET",
"algorithm": "sha256"
}
5 changes: 5 additions & 0 deletions assets/config/coins/bitcoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Bitcoin",
"symbol": "BTC",
"algorithm": "sha256"
}
5 changes: 5 additions & 0 deletions assets/config/coins/bitraam.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "BitRaam",
"symbol": "BRM",
"algorithm": "sha256"
}
7 changes: 7 additions & 0 deletions assets/config/coins/bitstar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "bitstar",
"symbol": "bits",
"algorithm": "scrypt",
"peerMagic": "cef1dbfa",
"peerMagicTestnet": "cdf1c0ef"
}
7 changes: 7 additions & 0 deletions assets/config/coins/bluecoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "bluecoin",
"symbol": "blu",
"algorithm": "scrypt",
"peerMagic": "fef5abaa",
"peerMagicTestnet": "eaceedcd"
}
7 changes: 7 additions & 0 deletions assets/config/coins/bottlecaps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Bottlecaps",
"symbol": "CAP",
"algorithm": "scrypt",
"peerMagic": "e4e8e9e5",
"peerMagicTestnet": "cdf2c0ef"
}
7 changes: 7 additions & 0 deletions assets/config/coins/bunnycoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "BunnyCoin",
"symbol": "BUN",
"algorithm": "scrypt",
"peerMagic": "c0c0c0c0",
"peerMagicTestnet": "fcc1b7dc"
}
5 changes: 5 additions & 0 deletions assets/config/coins/bytecoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Bytecoin",
"symbol": "BTE",
"algorithm": "sha256"
}
6 changes: 6 additions & 0 deletions assets/config/coins/cachecoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Cachecoin",
"symbol": "CACH",
"algorithm": "scrypt-jane",
"chainStartTime": 1388949883
}
7 changes: 7 additions & 0 deletions assets/config/coins/casinocoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Casinocoin",
"symbol": "CSC",
"algorithm": "scrypt",
"peerMagic": "fac3b6da",
"peerMagicTestnet": "fcc1b7dc"
}
5 changes: 5 additions & 0 deletions assets/config/coins/catcoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Catcoin",
"symbol": "CAT",
"algorithm": "scrypt"
}
7 changes: 7 additions & 0 deletions assets/config/coins/coino.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Coino",
"symbol": "CON",
"algorithm": "scrypt",
"peerMagic": "f1d1a7d8",
"peerMagicTestnet": "fcc1b7dc"
}
5 changes: 5 additions & 0 deletions assets/config/coins/continuumcoin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Continuumcoin",
"symbol": "CTM",
"algorithm": "sha256"
}
6 changes: 6 additions & 0 deletions assets/config/coins/copperbars.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Copperbars",
"symbol": "CPR",
"algorithm": "scrypt-jane",
"chainStartTime": 1376184687
}
7 changes: 7 additions & 0 deletions assets/config/coins/copperlark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Copperlark",
"symbol": "CLR",
"algorithm": "keccak",
"normalHashing": true,
"diffShift": 32
}
7 changes: 7 additions & 0 deletions assets/config/coins/cryptogenicbullion.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "CryptogenicBullion",
"symbol": "CGB",
"algorithm": "scrypt",
"peerMagic": "e4e8e9e5",
"peerMagicTestnet": "cdf2c0ef"
}
Loading

0 comments on commit 9c10e4d

Please sign in to comment.