clawoflight / aursec

Blockchain-based security layer for the AUR
Mozilla Public License 2.0
16 stars 2 forks source link

aursec-chain: global lock for mining #23

Closed clawoflight closed 7 years ago

clawoflight commented 7 years ago

We may run into problems at some point if multiple instances of aursec-chain mine blocks N are running at the same time.

We should check that and find a suitable global locking mechanism if necessary.

Lifree commented 7 years ago

What problems to you mean ?

clawoflight commented 7 years ago

When a user calls aursec-chain mine blocks 5 while the timer runs, for example. Or a user runs aursec-chain mine in two different shells at the same time.

On 12/15/2016 02:53 PM, Lifree wrote:

What problems to you mean ?

-- GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808

Lifree commented 7 years ago

closed by https://github.com/clawoflight/aursec/commit/498977a91958cebcf74324d31ddf934aaf961522