I contributed Bitcoin to a mining pool that was promoted on Instagram. The pool miner informed me that the process consists of 5 cycles. He defined an initial amount of Bitcoin to be submitted to the pool, then decreased the amount for the next 4 cycles. After the 5th cycle ended, I received "non-spendable" funds in my Blockchain wallet, which I cannot touch and which will not appear on my dashboard. I informed the miner of the situation and he told me that I had to submit an activation fee of 0.2 BTC in order for the funds to be released to my wallet. The miner then informed me again that I would be able to resume the .2 BTC after the funds are released to my wallet and that this function is the operation of the mining machine. Is it fraud?

mysql – Divide the database by pool

I need to divide a user database by Pool X and each pool must have nearly the same number of users based on their email provider

To better explain, if my database content:
100, 50, 10 and 1 users
And I am asked to split the database by 5 (for example, it could be 6, 9 or something else)

I need to have an A / B / C / D pool with 20, 10, 2
and the pool E as above but with 1

In fact, I have already split the database for each email provider, but I can't figure out how to balance the pools by ESP to be almost equal.
The content of the database has more than 500 different domains and some domains have only 2 or 3 users. I have to send it all intelligently: p

If I have 42 tera hash of mining power, how long will it take me to mine a block solo, and if I join a mining pool, how many bitcoins will I get?

If I have 42 tera hash of mining power, how long will it take me to mine a block solo, and if I join a mining pool, how many bitcoins will I get? I want to buy 4 Bitmain Antminer T9 +.

multithreading – C ++ General purpose thread pool of fixed size

I have been reading for a few days on thread pools in C ++ and I decided to deploy mine. I mainly intend to use it to learn how to implement parallel algorithms at some point in the future, but before that, I need to know if I can do something to make it more efficient. .

These are all the variables I use. I decided to put everything in its own namespace and do the std::condition_variable (responsible for the main thread break) static because there is really no need for each thread_pool object to having a copy.

namespace async {

    static std::condition_variable main_thread_cv;

    class thread_pool {

            std::mutex mutex_m;
            std::atomic busy_m;
            std::condition_variable pool_cv_m;
            std::array workers_m;
            std::queue> task_queue_m;
            bool should_terminate_m;
            void thread_loop();

            thread_pool(const thread_pool& other) = delete;
            thread_pool(const thread_pool&& other) = delete;
            thread_pool& operator=(const thread_pool& other) = delete;
            thread_pool& operator=(const thread_pool&& other) = delete;
            void wait();
            template  void enqueue(Fn&& function, Args&&... args);


This is the thread loop executed by all of the worker threads.

void thread_pool::thread_loop() {

    thread_local std::function task;

    for (;;) {
        { std::unique_lock lock(mutex_m);
            pool_cv_m.wait(lock, (this)() { return !task_queue_m.empty() || should_terminate_m; });
            if (should_terminate_m) {
            task = task_queue_m.front();


ctor and dtor:

thread_pool::thread_pool() {

    busy_m = 0;
    should_terminate_m = false;

    for (auto& thread : workers_m) {
        thread = std::thread((this)() { thread_loop(); });


thread_pool::~thread_pool() {

    busy_m = 0;
    should_terminate_m = true;


    for (auto& thread : workers_m) {


the wait and enqueue the functions:

void thread_pool::wait() {

    { std::unique_lock lock(mutex_m);
        main_thread_cv.wait(lock, (this)() { return busy_m == 0 && task_queue_m.empty(); });


void thread_pool::enqueue(Fn&& function, Args&& ...args) {

    { std::scoped_lock lock(mutex_m);
        task_queue_m.push(std::bind(std::forward(function), std::forward(args)...));


pathfinder 1e – Does the Bladebound Magus Blade Masterpiece Bonus add to the Arcane Pool enchantment?

Masterpiece and Improvement Bonuses are not cumulative. All magic weapons are masterpieces and already include the +1 to hit. The difference between a masterpiece and a +1 weapon is the improvement damage bonus.

So if your mage did as you described, he would get a Blazing Blade +2, which has +2 to hit and +2 to damage.

How many zeros must be in a bitcoin share for a pool to accept it?

First of all, Bitcoin doesn't actually use the number of zeros for the difficulty. Rather, it interprets the hash as a number and checks that the hash of the block is less than or equal to a particular target. This causes the hash to have multiple zeros in mind, but these zeros are not taken into account directly.

The objective for a part varies according to the pool and generally also by the minor. Minors can choose a target corresponding to their hash rate so as not to submit shares too quickly or too slowly. Of course, the shares are weighted by difficulty (ie the target). Thus, a share with a higher difficulty (lower target) is worth more than a share with a lower difficulty (higher target).

Most pools offer to set the difficulty on several values. For example, Slushpool allows you to set it between 128 and 500,000.

API – How to Print Bitcoin Transactions from a Php Mining Pool

i would like to print bitcoin transactions from a specific bitcoin mining pool and not just a bitcoin address using php and a blockchain api or any other api
here's all i have

echo "HASH OF TX:
"; $hash=$json("txs")($i)("hash"); echo " ".$hash; echo "SENT FROM:
"; $n_inputs = count($json("txs")($i)("inputs")); for($ii = 0; $ii < $n_inputs; $ii++){ $inValue = $json("txs")($i)("inputs")($ii)("prev_out")("value"); $inValueCalc = $inValue / 100000000; $inAddy = $json("txs")($i)("inputs")($ii)("prev_out")("addr"); echo " ". rtrim(number_format($inValueCalc, 8), '0') ." ". $inAddy ." "; echo "
"; } echo "SENT TO:
"; $n_outputs = count($json("txs")($i)("out")); for($io = 0; $io < $n_outputs; $io++){ $outValue = $json("txs")($i)("out")($io)("value"); $outValueCalc = $outValue / 100000000; $outAddy = $json("txs")($i)("out")($io)("addr"); echo " ". rtrim(number_format($outValueCalc, 8), '0') ." ". $outAddy ." "; echo "
"; } echo ""; } } ?>

algorithms – Find the maximum partition of unique items where each item matches the set pool containing that item

Given a list of sets:

a b c -> _
c d   -> d
b d   -> b
a c   -> a
a c   -> c

The goal is to find the maximum partition of unique elements, each element corresponding to the set containing this element.

I was thinking of ordering items in n * log (n) based on occurrence in other groups, then starting iteratively from the bottom, and rearranging the list each time by subtracting occurrences from & # 39; other items in the lists containing the deleted item. We can do this because each unique item contains a set of pointers to the lists in which the item is contained.

I can store unique items with their occurrences in a Min-Heap, where each unique item has a manager to the node in the Min-Heap, so we can delete the min and also decrease the key for others in the same list as the element contained in log (n) giving that we have its handler.

Is the approach workable, if not, which approach can I use?

Windows – stopping worker process for pool a will affect pool b

I have two pools running on the same server.
I noticed that one of them is configured for a 20 minute idle timeout, and the other is 180 minutes.

I can see this message in the Event Viewer:
"A worker process with process ID" 1964 "serving the application pool" A "was stopped due to inactivity. The application pool timeout configuration has been set to 20 minutes. A new work process will be started if necessary. "

Will this affect pool B? I scanned the logs and I don't see the same message for pool B.
I assume both pools are using the same worker process, or is it not.
Thank you

SQL Server – How to automatically create multiple databases in an elastic pool using PowerShell and How to restore the schema on these databases using PowerShell?

I want to create 20 databases in 2 Elastic Pool using Powershell (Powershell should be written in such a way that it automatically creates 20 databases in 2 elastic pools) The size should be S0, then restore a database schema on these 20 databases using Powershell.
I also want a consolidated PowerShell that automatically performs all of these processes.
Can someone please help me with this question?