Matthew Little
75f7426ee7
ignore IDE config files
2014-01-16 10:06:27 -07:00
Matthew Little
08e16cfb28
some comments
2014-01-16 10:05:44 -07:00
Matthew Little
e1c24559f0
Added initial vardiff. Needs testing...
2014-01-15 21:54:41 -07:00
Matthew Little
94a0b04323
Updated README
2014-01-15 21:07:18 -07:00
Matthew Little
cca1313430
Added initial vardiff. Needs testing...
2014-01-15 20:57:18 -07:00
Matthew Little
13b04ab509
Added initial vardiff. Needs testing...
2014-01-15 20:56:55 -07:00
Matthew Little
8e3b28cea3
Fixed up error handling for stratum socket
2014-01-15 17:52:05 -07:00
Matthew Little
e02b265d13
Added lots of comments, cleaned up a some code
2014-01-15 17:37:43 -07:00
Matthew Little
11338e0f16
Optimized generation transaction building. Should be a bit faster.
2014-01-15 16:49:22 -07:00
Matthew Little
cb5d7c7bdc
Add check for if submitblock was successful and refined the data emitted by onShare
2014-01-15 16:03:30 -07:00
Matthew Little
cbcaa1cf98
Added proper block hash to share solution. Added members to emitted share data.
2014-01-14 18:40:19 -07:00
Andrea Baccega
61db6d7ea4
Removed jobs object from jobManager since we only need one job! There's no need to keep the olders in memory.
...
Refactored, a bit, the emit log event introducing a key for every log message Current keys are:
- 'client': for all the client related events
- 'submitblock': dedicated only to events about the block submission!
- 'system': all log events about the stratum pool
2014-01-14 14:32:30 +01:00
Matthew Little
a67082131d
Updated structure
2014-01-13 19:02:07 -07:00
Matthew Little
2d65f47c05
Updated structure
2014-01-13 18:36:22 -07:00
Matthew Little
499c5cf818
Updated structure
2014-01-13 18:28:16 -07:00
Matthew Little
fb4dd5af81
Updated structure
2014-01-13 18:24:37 -07:00
Matthew Little
5e8353edc8
Updated structure
2014-01-13 18:06:39 -07:00
Matthew Little
57b44292c4
Updated structure
2014-01-13 17:48:19 -07:00
Matthew Little
cea68b771f
Updated structure
2014-01-13 17:45:10 -07:00
Matthew Little
2b5aefd7b4
example code for new structure
2014-01-13 17:39:04 -07:00
Andrea Baccega
6ad310b872
Added coin/dogecoin at gitignore so we don't mess around with payment addresses
...
Fixed merge shit
2014-01-13 23:30:31 +01:00
Andrea Baccega
be51126f09
Merge branch 'vekexasia'
...
Conflicts:
example/coins/dogecoin.json
example/init.js
index.js
2014-01-13 22:47:48 +01:00
Matthew Little
f8efd80488
refactored block polling and pool setup
2014-01-13 16:23:41 -05:00
Matthew Little
677bc176a4
updated
2014-01-13 14:17:56 -05:00
Matthew Little
69eec8318e
updated
2014-01-13 14:09:53 -05:00
Andrea Baccega
fc8e18645b
Fixed Todolist markup
2014-01-13 17:54:35 +01:00
Andrea Baccega
a42fe87723
Added todolist
...
code cleanup
Added jobManager.blockHashHex which should generate the expected block hash but it seems to not work properly
Moved check for the share difficulty after the block check since it's useless to make the check there.
Changed emit event from client to client.connected and added client.disconnected
Changed share emit data. Now we pass the client instance to everyone listening to the share event.
Added mining.get_transaction to the handled events of stratumclient. It looks like bfgminer uses this.
changed StratumClient.sendDifficulty to StratumCLient.sendAndSetDifficulty which will also perform a check on the given difficulty and broadcasts the sendDifficulty message to the client Only if the new difficulty is different from the previous one.
Code cleanup and comments
2014-01-13 16:17:38 +01:00
Andrea Baccega
263972fcdc
When clients disconnect new emit + memory clean up
...
Replaced some console.log with console.error
2014-01-13 11:06:43 +01:00
Andrea Baccega
475dab8aab
Added difficulty parameter to the authorizeFn
2014-01-12 23:43:02 +01:00
Andrea Baccega
6472baacc2
Removed 'authorize' emit event and created which is now replaced by an authorize function.
...
Added ip address to the authorize event
Added ability for the authorizeFn to ask StratumClient to close connection
2014-01-12 21:54:20 +01:00
Andrea Baccega
3a9b8b94aa
Refactored folder structure to better match node module standard structure.
...
Added comments on some classes
2014-01-12 21:11:20 +01:00
Andrea Baccega
a301c49943
Removed reward parameter from blocktemplates as it was misnamed
...
other stuff
2014-01-12 16:35:32 +01:00
Andrea Baccega
0ef96c8daf
Removed unnecessary comments or variable
2014-01-12 15:12:41 +01:00
Andrea Baccega
d26e00fee2
Added some comments,
...
Fixed the code that was checking for new blocks.
Removed jobId from the constructor arguments of BlockTemplate and created a setter Instead.
Added "start" emit event from "Pool" that is going to be used by the polling block submit handler
2014-01-12 15:08:58 +01:00
Andrea Baccega
cb1e40d8eb
Fixed block submission hex.
2014-01-12 14:10:40 +01:00
Matthew Little
43517a8824
added blocknotify functionality
2014-01-11 14:25:57 -05:00
Matthew Little
f6b512168b
updated
2014-01-11 13:53:18 -05:00
Matthew Little
aa09b4433e
updated
2014-01-11 13:52:15 -05:00
Matthew Little
b6a4bc4d66
updated
2014-01-11 13:52:02 -05:00
Matthew Little
23b7d2a705
updated
2014-01-11 13:50:34 -05:00
Matthew Little
eb7c04e509
updated
2014-01-11 13:50:04 -05:00
Matthew Little
43807bc353
updated
2014-01-11 13:49:42 -05:00
Matthew Little
fd2ced1c47
updated
2014-01-11 13:48:49 -05:00
Matthew Little
cff1234a18
updated
2014-01-11 13:48:32 -05:00
Matthew Little
f40481e58c
updated
2014-01-11 13:48:13 -05:00
Matthew Little
96f287ed78
updated
2014-01-11 13:46:34 -05:00
Matthew Little
df670b567b
updated
2014-01-11 13:46:15 -05:00
Matthew Little
5cfd62c2d3
updated
2014-01-11 13:45:54 -05:00
Matthew Little
960cd9d811
updated
2014-01-11 13:45:21 -05:00
Matthew Little
8727eef055
updated
2014-01-11 13:44:56 -05:00