Add EventSink for External Logging #342
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
parasitepool/para!342
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "parabit/record-sink"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds and tests the ability to write shares to a DB and/or flat file. This enables
para serverto work withpara poolin a way that is fully compatible with our mining pool.@ -42,6 +42,7 @@ use {},},Rework usages of ckpool::PoolStatus and api::PoolStatus to be named.
@ -66,13 +69,22 @@ impl<W: Workbase> Stratifier<W> {jobs: Jobs::new(),Catch and log, can be mitigated by implementing batching.
Arc<BufWriter<File>>if we move async@ -690,2 +747,4 @@let job_height = job.workbase.height();self.send_error(id,Timestamp should be populated at insert-time.
@ -690,2 +747,4 @@let job_height = job.workbase.height();self.send_error(id,Can we pass in top-level fields (that are wrapped in arc), and do the clone()/to_string() at write time? Exploring further.
@ -1,6 +1,6 @@use {Cleaned up and merged imports project-wide
@ -7,2 +7,4 @@fn nbits(&self) -> Nbits;fn ntime(&self) -> Ntime;fn height(&self) -> i32;fn coinbase_value(&self) -> Option<i64>;PSQL
BIGINTis an i64 as postgres does not have a native 8-byte unsigned numberPSQL
BIGINTis an i64 as postgres does not have a native 8-byte unsigned numberI absolutely love Arc<Mutex<>>, it is the HashMap<> (Java) of the Rust world, it always works even if it isn't appropriate.