ckolivas
|
d0398fed4a
|
Revert "Move merkle tree generation to the stratifier along with all transaction data to allow transaction data to be used directly in future code"
This reverts commit 8702c02822 .
|
9 years ago |
ckolivas
|
147175f295
|
Revert "Add transactions to a hashtable to know which are new, which need propagating, and which are no longer needed"
This reverts commit c43432ea7e .
|
9 years ago |
ckolivas
|
c43432ea7e
|
Add transactions to a hashtable to know which are new, which need propagating, and which are no longer needed
|
9 years ago |
ckolivas
|
8702c02822
|
Move merkle tree generation to the stratifier along with all transaction data to allow transaction data to be used directly in future code
|
9 years ago |
ckolivas
|
f2a0d3636f
|
Rename transactions to txns to not clash with the transactions value returned by getblocktemplate
|
9 years ago |
Con Kolivas
|
f9d4e7999a
|
Remove unused zlib header
|
9 years ago |
Con Kolivas
|
74bf043832
|
Fix memory leak in node_msg_type
|
9 years ago |
Con Kolivas
|
481208470e
|
Unrecognised stratum messages shouldn't spew to the console in node mode
|
9 years ago |
Con Kolivas
|
991f6b02e4
|
Move testing clients to the stats update thread to decrease overhead in stratum_broadcast and handling disconnects in node mode, testing idle clients as well.
|
9 years ago |
kanoi
|
c3d9ad3d0a
|
ckdb - add 250, 500 and 1000 blocks to the block stats table
|
9 years ago |
Con Kolivas
|
785b000e82
|
Bestshares is reset in block response parsing now for remote blocks
|
9 years ago |
Con Kolivas
|
a3d7ed2a29
|
Reset shares after remote block solves and broadcast remote block solves
|
9 years ago |
kanoi
|
1c9c741e41
|
ckdb - update version for libckpool update
|
9 years ago |
ckolivas
|
8bb23841e9
|
Prevent crash in empty string passed to json_strcpy
|
9 years ago |
ckolivas
|
9febe260c3
|
Check nonce, nonce2 and ntime are valid hex in parse_submit
|
9 years ago |
Con Kolivas
|
eedc3eec1c
|
Avoid needing to duplicate buffer to parse messages in parse_client_msg
|
9 years ago |
Con Kolivas
|
606f570c3d
|
Use faster and more robust memchr for detecting EOL in read_socket_line
|
9 years ago |
Con Kolivas
|
bd26f1e6b4
|
Increase bidirectional buffer sizes to trusted remotes to 2MB default
|
9 years ago |
Con Kolivas
|
fbbed17d7a
|
Roll back to M22
|
9 years ago |
Con Kolivas
|
00f866927a
|
Increase write_socket select timeout to 60 seconds
|
9 years ago |
Con Kolivas
|
bba064044b
|
Increase bidirectional buffer sizes to trusted remotes to 2MB default
|
9 years ago |
Con Kolivas
|
a0d86556a0
|
Downstream possible block solves to trusted nodes in binary form as well
|
9 years ago |
Con Kolivas
|
4f637a8be5
|
Fix off-by-one error in parsing bkeys in parse_client_msg
|
9 years ago |
Con Kolivas
|
c9a5085bfd
|
Remove unnecessary duplicating of message during parsing in parse_client_msg
|
9 years ago |
Con Kolivas
|
2bb5679c36
|
Receive and parse upstreamed block submits on client interface
|
9 years ago |
Con Kolivas
|
26f1173e74
|
Change upstream submit to use bkeys, sending hash and data separately WIP
|
9 years ago |
Con Kolivas
|
55ea835f7a
|
Search for EOL with bkey message to avoid false positives
|
9 years ago |
Con Kolivas
|
fc6331e279
|
More gracefully handle out of sync/corrupt binary messages by searching memory for EOL instead of strings
|
9 years ago |
James Hilliard
|
eb1cbe5925
|
Check that the result is null for accepted blocks instead of true. GBT returns {"result": null, "error": null, "id": null} if the block is accepted.
|
9 years ago |
Con Kolivas
|
4a64775a86
|
Fix off-by-one error in bkey send size and clear buffer properly in clear_bufline
|
9 years ago |
ckolivas
|
b7c3eab4d1
|
Prevent crash in empty string passed to json_strcpy
|
9 years ago |
kanoi
|
2a4a9f1c99
|
ckdb/php - fix instance additions
|
9 years ago |
Con Kolivas
|
7ee668e50d
|
Don't look for bkeys with messages slated for the node since they've already been extracted
|
9 years ago |
Con Kolivas
|
94cf7b2c17
|
Properly handle clients that don't accept bkeys
|
9 years ago |
Con Kolivas
|
401374e437
|
Overwrite EOL with bkey message in process_client_msg
|
9 years ago |
ckolivas
|
be17fb808a
|
Dont zero binary data eom
|
9 years ago |
ckolivas
|
41db95b213
|
Append EOL to json dumps when no bkeys are appended
|
9 years ago |
ckolivas
|
d7e0fa0cec
|
Calculate blen correctly in send_client
|
9 years ago |
ckolivas
|
5c289b9cb5
|
Don't fail on last seek in json_append_bkeys
|
9 years ago |
ckolivas
|
e223264717
|
Include bkey header length in forward_passthrough_msg
|
9 years ago |
ckolivas
|
27080e48fa
|
Append bkeys data in process_client_msg
|
9 years ago |
ckolivas
|
4805bb410c
|
Append bkeys in passthrough_recv messages
|
9 years ago |
ckolivas
|
05b3a8e39a
|
Append bkey binary data to read_socket_line when it exists
|
9 years ago |
ckolivas
|
d91295cf82
|
Decode bkeys for clients that don't support them, otherwise forward on entire message
|
9 years ago |
ckolivas
|
812cd70e8f
|
Handle rare fail mode gracefully
|
9 years ago |
Con Kolivas
|
6be75b4c1b
|
Move bkey extraction to send_client WIP
|
9 years ago |
ckolivas
|
32ac6318a2
|
Don't try to broadcast messages to monitored clients in node mode
|
9 years ago |
Con Kolivas
|
879294fe1a
|
Correctly handle existing instance running
|
9 years ago |
Con Kolivas
|
5812abbb02
|
Reuse client bkeyval set code
|
9 years ago |
Con Kolivas
|
6e70908b30
|
Set a bkey bool on connecting remote/node/passthroughs flagging them capable of receiving bkey data
|
9 years ago |