mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
checkpoint: into main from release/2.0.0 @ 914505f945
(#16084)
Source hash: 914505f945
Remaining commits: 2
This commit is contained in:
commit
90f3be386b
@ -810,7 +810,7 @@ class WebSocketServer:
|
||||
def _chiapos_plotting_command_args(self, request: Any, ignoreCount: bool) -> List[str]:
|
||||
k = request["k"] # Plot size
|
||||
t = request["t"] # Temp directory
|
||||
t2 = request["t2"] # Temp2 directory
|
||||
t2 = request.get("t2") # Temp2 directory
|
||||
b = request["b"] # Buffer size
|
||||
u = request["u"] # Buckets
|
||||
a = request.get("a") # Fingerprint
|
||||
@ -818,8 +818,11 @@ class WebSocketServer:
|
||||
x = request["x"] # Exclude final directory
|
||||
override_k = request["overrideK"] # Force plot sizes < k32
|
||||
|
||||
command_args: List[str] = ["-k", str(k), "-t", t, "-2", t2, "-b", str(b), "-u", str(u)]
|
||||
command_args: List[str] = ["-k", str(k), "-t", t, "-b", str(b), "-u", str(u)]
|
||||
|
||||
if t2 is not None:
|
||||
command_args.append("-2")
|
||||
command_args.append(str(t2))
|
||||
if a is not None:
|
||||
command_args.append("-a")
|
||||
command_args.append(str(a))
|
||||
|
Loading…
Reference in New Issue
Block a user