Handbook for change sources need
-
I am download source of miner.
https://github.com/ghostlander/cpuminer-neoscrypt
I want make changes for faster binary. I dont know, how to start inspect code.
Help me start to make changes.
AUTHORS
ChangeLog
COPYING
Dockerfile
LICENSE
NEWS
README
minerd.1
configure.ac
Makefile.am
cpu-miner.c
neoscrypt.c
scrypt.c
sha2.c
util.c
compat.h
elist.h
miner.h
neoscrypt.h
version.h
example-cfg.json
nomacro.pl
neoscrypt_asm.S
scrypt-arm.S
scrypt-x64.S
scrypt-x86.S
sha2-arm.S
sha2-x64.S
sha2-x86.S
autogen.sh -
Moved Thread to technical development.
The chance, that developers will answer is better here
-
I’m not deep in the code, but if you want to optimize the code, you probably should start with neoscrypt.h and neoscrypt.c as the actual hash calculation is coded there for Neoscrypt.
Ghostlander developed the Neoscrypt algorithm, so he may be able to provide more detailed hints
-
How far back do you want to go?
The first step is to learn Github
Then I would look into what Wolf did with GPU code and then lookinto the CPU side of the development
Look into the history of miners espectially cg miner and sg miner
Look through the code and changes on Github for all mining software
etc …
The other point is, FTC staff have optimised and added enhancements to mining software but our core responcibility is the Core Wallets, which includes the feathercoind (or bitcoind) daemon, which actually does the work. However, Bitcoin and Litcoin are the experts on the “coin network” we are all building on the open source expertise. Wheras we have contributed in various areas like community involvement, complete open source, GPU enhancements to miners, development of a GPU only algorithm, Anti Coin hopping enhancements, coin transaction timings, transaction fee payments, PPA creation, user guides and mining support, etc … There is much too much for any one project to do.
For instance, you are much less behind on the development of POS or pay by SMS than getting involved with mining software and thinking you can easily optimise it at this stage.
-
Further info to be going on with
Feathercoin irc channel, you can meet for discussion, or see if anyone knows something.
irc://irc.freenode.org/feathercoin
Neoscrypt irc was used to development neoscrypt, especially the GPU kernel enhancements
irc://irc.freenode.org/neoscrypt
If you want to ask questions I would also find the irc for sgminer especially, as that has a lot of good open source development and support for neoscrypt.
Are you on Linux? For open source development start by finding the how to develop / compile Feathercoin from source. Once you have QT it is easy to skim through the code. I tried to build a general picture of the various modules and what they do, with a few minor changes to make sure I can compile and run it. Obviously, if your very experience in Linux it can all be compiled from the command line.
I’ll find you the guides, if your having trouble. There’s a lot to read already, so you will need to filter that, but I would have thought the neoscrypt development thread would be a good start, also…
-
https://github.com/ghostlander/cpuminer-neoscrypt/blob/master/cpu-miner.c line 1145
similiar
https://github.com/magi-project/wolf-m7m-cpuminer-V2/blob/master/m7mhash.c line 125
hash scaned in that function.
both functions scanhash_m7m_hash, scanhash_neoscrypt return integer result. What the next ?
_How server (feathercoind or bitcoind) verify this share of pool of user(or other proxy) miner _?
https://github.com/FeatherCoin/Feathercoin/blob/master-0.8/src/bitcoinrpc.h line 214 ?