From 61aa7ad992b78966ce7adb719a286d3ca2588093 Mon Sep 17 00:00:00 2001 From: sgt_coin Date: Wed, 1 Dec 2021 13:53:32 -0500 Subject: [PATCH 1/6] Update multisig.md Add in description for cancel a multisig transaction and inspect msig params with lotus-shed. --- content/en/docs/set-up/multisig.md | 114 +++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/content/en/docs/set-up/multisig.md b/content/en/docs/set-up/multisig.md index 1aa2a8f6..a8268f72 100644 --- a/content/en/docs/set-up/multisig.md +++ b/content/en/docs/set-up/multisig.md @@ -55,6 +55,21 @@ lotus msig approve walletAddress transactionID proposerAddress destinationAddres The value of `transactionID`, `proposerAddress`, `destinationAddress` and `value` must match the values used in the proposal. +## Cancel a pending multisig transaction + + +Use `lotus msig cancel` to cancel a pending multisig transaction. + +```shell with-output +lotus msig cancel walletAddress transactionID destinationAddress value + +``` +The value of `walletAddress`, `transactionID`, `destinationAddress` and `value` must match the values used in the proposal. + +Output of a successful cancel process. +``` +sent cancel in message: bafy2bzacebjy2limeu6mw4b6x5yqgdupxaqabprojwu72xlfhwkhgb5jcyr7c +``` ## Inspect a multisig wallet Use `lotus msig inspect` to get information about the multisig wallet: @@ -75,3 +90,102 @@ Transactions: 1 ID State Approvals To Value Method Params 0 pending 1 t1fjswymsauvfh5zxw34t2pgz7iev2fn56unyw6ci 20 FIL Send(0) ``` +## Inspect a multisig transaction + + +Use `lotus-shed msg` to inspect the params of a transaction. + +```shell with-output +lotus lotus-shed msg messageID + +``` +Output of a successful inspection on a multisig transaction. + +``` +Signed: +CID: bafy2bzacedjtwkmqjo3zdx2vdaq7pku55fy22vqlizmviofxznm7smy2hexme +HEX: 828a0055029bafccef76d1c6dddd085a6748745619ec4562735501d0ae53fafa449c3f51d75f0463324c4f788dfcac07401a002f7bfd4400018c0444000187e6025823845501669d098ed7d29ee8af633439211d7cf25b4f6cb049004563918244f400000040584201a1cf805c298614d0cd550313489566d8e925e4e8cdd2ab6a878e5b1ab358da9e1f0a31801260b6f4f8536506304c5bd9e528570adb4093178c3e6496302062af00 +B64: gooAVQKbr8zvdtHG3d0IWmdIdFYZ7EVic1UB0K5T+vpEnD9R118EYzJMT3iN/KwHQBoAL3v9RAABjAREAAGH5gJYI4RVAWadCY7X0p7or2M0OSEdfPJbT2ywSQBFY5GCRPQAAABAWEIBoc+AXCmGFNDNVQMTSJVm2Okl5OjN0qtqh45bGrNY2p4fCjGAEmC29PhTZQYwTFvZ5ShXCttAkxeMPmSWMCBirwA= +JSON: { + "Message": { + "Version": 0, + "To": "t2tox4z33w2hdn3xiiljtuq5cwdhwekytt6zfw7uy", + "From": "t12cxfh6x2isod6uoxl4cggmsmj54i37fmn43wboy", + "Nonce": 7, + "Value": "0", + "GasLimit": 3111933, + "GasFeeCap": "101380", + "GasPremium": "100326", + "Method": 2, + "Params": "hFUBZp0JjtfSnuivYzQ5IR188ltPbLBJAEVjkYJE9AAAAEA=", + "CID": { + "/": "bafy2bzacebtldblnlop5up3hq7w4c4cwkyja6jlqbwvf3hca72rpgscfeexby" + } + }, + "Signature": { + "Type": 1, + "Data": "oc+AXCmGFNDNVQMTSJVm2Okl5OjN0qtqh45bGrNY2p4fCjGAEmC29PhTZQYwTFvZ5ShXCttAkxeMPmSWMCBirwA=" + }, + "CID": { + "/": "bafy2bzacedjtwkmqjo3zdx2vdaq7pku55fy22vqlizmviofxznm7smy2hexme" + } +} + +--- +Signed Message Details: +Signature(hex): a1cf805c298614d0cd550313489566d8e925e4e8cdd2ab6a878e5b1ab358da9e1f0a31801260b6f4f8536506304c5bd9e528570adb4093178c3e6496302062af00 +Signature(b64): oc+AXCmGFNDNVQMTSJVm2Okl5OjN0qtqh45bGrNY2p4fCjGAEmC29PhTZQYwTFvZ5ShXCttAkxeMPmSWMCBirwA= +Signature type: 1 (secp256k1) +------- +Unsigned: +CID: bafy2bzacebtldblnlop5up3hq7w4c4cwkyja6jlqbwvf3hca72rpgscfeexby +HEX: 8a0055029bafccef76d1c6dddd085a6748745619ec4562735501d0ae53fafa449c3f51d75f0463324c4f788dfcac07401a002f7bfd4400018c0444000187e6025823845501669d098ed7d29ee8af633439211d7cf25b4f6cb049004563918244f400000040 +B64: igBVApuvzO920cbd3QhaZ0h0VhnsRWJzVQHQrlP6+kScP1HXXwRjMkxPeI38rAdAGgAve/1EAAGMBEQAAYfmAlgjhFUBZp0JjtfSnuivYzQ5IR188ltPbLBJAEVjkYJE9AAAAEA= +JSON: { + "Version": 0, + "To": "t2tox4z33w2hdn3xiiljtuq5cwdhwekytt6zfw7uy", + "From": "t12cxfh6x2isod6uoxl4cggmsmj54i37fmn43wboy", + "Nonce": 7, + "Value": "0", + "GasLimit": 3111933, + "GasFeeCap": "101380", + "GasPremium": "100326", + "Method": 2, + "Params": "hFUBZp0JjtfSnuivYzQ5IR188ltPbLBJAEVjkYJE9AAAAEA=", + "CID": { + "/": "bafy2bzacebtldblnlop5up3hq7w4c4cwkyja6jlqbwvf3hca72rpgscfeexby" + } +} + +--- +Message Details: +Value: 0 FIL +Max Fees: 0.00000031548776754 FIL +Max Total Cost: 0.00000031548776754 FIL +Method: Propose +Params: { + "To": "t1m2oqtdwx2kporl3dgq4schl46jnu63fqwchf4wq", + "Value": "5000000000000000000", + "Method": 0, + "Params": null +} +--- +Params message: +Msig Propose: +HEX: 845501669d098ed7d29ee8af633439211d7cf25b4f6cb049004563918244f400000040 +B64: hFUBZp0JjtfSnuivYzQ5IR188ltPbLBJAEVjkYJE9AAAAEA= +JSON: { + "To": "t1m2oqtdwx2kporl3dgq4schl46jnu63fqwchf4wq", + "Value": "5000000000000000000", + "Method": 0, + "Params": null +} + +--- +Message Details: +Value: 5 FIL +Max Fees: 0 FIL +Max Total Cost: 5 FIL +Method: Send +Params: {} +``` \ No newline at end of file From a1e2b34ccc5c85b1ae82a135cac9559c759c63cb Mon Sep 17 00:00:00 2001 From: sgt_coin Date: Wed, 1 Dec 2021 14:45:51 -0500 Subject: [PATCH 2/6] Update multisig.md format updates to cancel and inspect processes --- content/en/docs/set-up/multisig.md | 72 +++--------------------------- 1 file changed, 5 insertions(+), 67 deletions(-) diff --git a/content/en/docs/set-up/multisig.md b/content/en/docs/set-up/multisig.md index a8268f72..a393f164 100644 --- a/content/en/docs/set-up/multisig.md +++ b/content/en/docs/set-up/multisig.md @@ -55,7 +55,7 @@ lotus msig approve walletAddress transactionID proposerAddress destinationAddres The value of `transactionID`, `proposerAddress`, `destinationAddress` and `value` must match the values used in the proposal. -## Cancel a pending multisig transaction +## Cancel a pending multisig proposal Use `lotus msig cancel` to cancel a pending multisig transaction. @@ -90,73 +90,18 @@ Transactions: 1 ID State Approvals To Value Method Params 0 pending 1 t1fjswymsauvfh5zxw34t2pgz7iev2fn56unyw6ci 20 FIL Send(0) ``` -## Inspect a multisig transaction +## Inspect a multisig proposal -Use `lotus-shed msg` to inspect the params of a transaction. +Use `lotus-shed msg` to inspect the params of a message. ```shell with-output -lotus lotus-shed msg messageID +lotus-shed msg messageID ``` -Output of a successful inspection on a multisig transaction. +Output of a successful inspection on a multisig message. ``` -Signed: -CID: bafy2bzacedjtwkmqjo3zdx2vdaq7pku55fy22vqlizmviofxznm7smy2hexme -HEX: 828a0055029bafccef76d1c6dddd085a6748745619ec4562735501d0ae53fafa449c3f51d75f0463324c4f788dfcac07401a002f7bfd4400018c0444000187e6025823845501669d098ed7d29ee8af633439211d7cf25b4f6cb049004563918244f400000040584201a1cf805c298614d0cd550313489566d8e925e4e8cdd2ab6a878e5b1ab358da9e1f0a31801260b6f4f8536506304c5bd9e528570adb4093178c3e6496302062af00 -B64: gooAVQKbr8zvdtHG3d0IWmdIdFYZ7EVic1UB0K5T+vpEnD9R118EYzJMT3iN/KwHQBoAL3v9RAABjAREAAGH5gJYI4RVAWadCY7X0p7or2M0OSEdfPJbT2ywSQBFY5GCRPQAAABAWEIBoc+AXCmGFNDNVQMTSJVm2Okl5OjN0qtqh45bGrNY2p4fCjGAEmC29PhTZQYwTFvZ5ShXCttAkxeMPmSWMCBirwA= -JSON: { - "Message": { - "Version": 0, - "To": "t2tox4z33w2hdn3xiiljtuq5cwdhwekytt6zfw7uy", - "From": "t12cxfh6x2isod6uoxl4cggmsmj54i37fmn43wboy", - "Nonce": 7, - "Value": "0", - "GasLimit": 3111933, - "GasFeeCap": "101380", - "GasPremium": "100326", - "Method": 2, - "Params": "hFUBZp0JjtfSnuivYzQ5IR188ltPbLBJAEVjkYJE9AAAAEA=", - "CID": { - "/": "bafy2bzacebtldblnlop5up3hq7w4c4cwkyja6jlqbwvf3hca72rpgscfeexby" - } - }, - "Signature": { - "Type": 1, - "Data": "oc+AXCmGFNDNVQMTSJVm2Okl5OjN0qtqh45bGrNY2p4fCjGAEmC29PhTZQYwTFvZ5ShXCttAkxeMPmSWMCBirwA=" - }, - "CID": { - "/": "bafy2bzacedjtwkmqjo3zdx2vdaq7pku55fy22vqlizmviofxznm7smy2hexme" - } -} - ---- -Signed Message Details: -Signature(hex): a1cf805c298614d0cd550313489566d8e925e4e8cdd2ab6a878e5b1ab358da9e1f0a31801260b6f4f8536506304c5bd9e528570adb4093178c3e6496302062af00 -Signature(b64): oc+AXCmGFNDNVQMTSJVm2Okl5OjN0qtqh45bGrNY2p4fCjGAEmC29PhTZQYwTFvZ5ShXCttAkxeMPmSWMCBirwA= -Signature type: 1 (secp256k1) -------- -Unsigned: -CID: bafy2bzacebtldblnlop5up3hq7w4c4cwkyja6jlqbwvf3hca72rpgscfeexby -HEX: 8a0055029bafccef76d1c6dddd085a6748745619ec4562735501d0ae53fafa449c3f51d75f0463324c4f788dfcac07401a002f7bfd4400018c0444000187e6025823845501669d098ed7d29ee8af633439211d7cf25b4f6cb049004563918244f400000040 -B64: igBVApuvzO920cbd3QhaZ0h0VhnsRWJzVQHQrlP6+kScP1HXXwRjMkxPeI38rAdAGgAve/1EAAGMBEQAAYfmAlgjhFUBZp0JjtfSnuivYzQ5IR188ltPbLBJAEVjkYJE9AAAAEA= -JSON: { - "Version": 0, - "To": "t2tox4z33w2hdn3xiiljtuq5cwdhwekytt6zfw7uy", - "From": "t12cxfh6x2isod6uoxl4cggmsmj54i37fmn43wboy", - "Nonce": 7, - "Value": "0", - "GasLimit": 3111933, - "GasFeeCap": "101380", - "GasPremium": "100326", - "Method": 2, - "Params": "hFUBZp0JjtfSnuivYzQ5IR188ltPbLBJAEVjkYJE9AAAAEA=", - "CID": { - "/": "bafy2bzacebtldblnlop5up3hq7w4c4cwkyja6jlqbwvf3hca72rpgscfeexby" - } -} - --- Message Details: Value: 0 FIL @@ -182,10 +127,3 @@ JSON: { } --- -Message Details: -Value: 5 FIL -Max Fees: 0 FIL -Max Total Cost: 5 FIL -Method: Send -Params: {} -``` \ No newline at end of file From 5238e532a49380b3043f7674463c247f1ff1bd39 Mon Sep 17 00:00:00 2001 From: sgt_coin <91992934+SgtCoin@users.noreply.github.com> Date: Mon, 3 Jan 2022 15:19:35 -0500 Subject: [PATCH 3/6] Update mining-architectures.md --- content/en/docs/storage-providers/mining-architectures.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/docs/storage-providers/mining-architectures.md b/content/en/docs/storage-providers/mining-architectures.md index 0a4611fb..d037461c 100644 --- a/content/en/docs/storage-providers/mining-architectures.md +++ b/content/en/docs/storage-providers/mining-architectures.md @@ -20,11 +20,17 @@ We are working to improve this section. If you would like to share your mining s The following Lotus miner setup was published as part of the [Guide to Filecoin Storage Mining](https://filecoin.io/blog/filecoin-guide-to-storage-mining/) blog post. A PDF is available for download [here](https://filecoin.io/vintage/mining-hardware-config-testnet-v3.pdf): +### AMD based architecture + | Hardware unit | CPU model | GPU | RAM | Disk | Processes | Notes | | -------------------- | ----------------------------- | -------------------------- | ---------- | --------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------- | | Storage miner + Node | AMD Epyc 7402 (24 cores) | Nvidia Quadro RTX 6000 | 128-256 GB | Unspecified | 1x lotus

1x lotus-miner | The miner delegates sealing functions to the workers below. | | PC1 workers | AMD Epyc 7F32 DP/UP (8 cores) | - | 128-256 GiB | 6 x 1-2 TiB SSD scratch disk | 6x lotus-worker | Runs 6 [Lotus seal workers]({{< relref "seal-workers" >}}) in parallel for PreCommit1 phase only. | | PC2, Commit workers | AMD Epyc 7402 (24 cores) | 2 x Nvidia Quadro RTX 6000 | 256 GiB | 2-4 TiB SSD scratch disk(s) | 1x lotus-worker (PC2)

1x lotus-worker (Commit) | One [worker]({{< relref "seal-workers" >}}) dedicated to PreCommit2 and another to the Commit phase | + +### Intel based architecture +| Hardware unit | CPU model | GPU | RAM | Disk | Processes | Notes | +| -------------------- | ----------------------------- | -------------------------- | ---------- | --------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------- | | Storage miner + Node | Intel Xeon Platinum Processor 8358 (32 cores) | Nvidia GeForce RTX 3080 series or RTX 3090 | 128-256 GB | Unspecified | 1x lotus

1x lotus-miner | The miner delegates sealing functions to the workers below. | | PC1 workers | Intel Xeon Gold Processor 6346 (16 cores) | - | 128-256 GiB | 6 x 1-2 TiB SSD scratch disk | 6x lotus-worker | Runs 6 Lotus seal workers in parallel for PreCommit1 phase only. | | PC2, Commit workers | Intel Xeon Platinum Processor 8358 (32 cores) | 2x Nvidia GeForce RTX 3080 series or RTX 3090 | 256 GiB | 2-4 TiB SSD scratch disk(s) | 1x lotus-worker (PC2)

1x lotus-worker (Commit) | One worker dedicated to PreCommit2 and another to the Commit phase. | From a145219d5acfdb768bd7142488171899b6268a37 Mon Sep 17 00:00:00 2001 From: sgt_coin <91992934+SgtCoin@users.noreply.github.com> Date: Mon, 3 Jan 2022 15:20:20 -0500 Subject: [PATCH 4/6] Update mining-architectures.md --- content/en/docs/storage-providers/mining-architectures.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/storage-providers/mining-architectures.md b/content/en/docs/storage-providers/mining-architectures.md index d037461c..5c173fb0 100644 --- a/content/en/docs/storage-providers/mining-architectures.md +++ b/content/en/docs/storage-providers/mining-architectures.md @@ -29,6 +29,7 @@ The following Lotus miner setup was published as part of the [Guide to Filecoin | PC2, Commit workers | AMD Epyc 7402 (24 cores) | 2 x Nvidia Quadro RTX 6000 | 256 GiB | 2-4 TiB SSD scratch disk(s) | 1x lotus-worker (PC2)

1x lotus-worker (Commit) | One [worker]({{< relref "seal-workers" >}}) dedicated to PreCommit2 and another to the Commit phase | ### Intel based architecture + | Hardware unit | CPU model | GPU | RAM | Disk | Processes | Notes | | -------------------- | ----------------------------- | -------------------------- | ---------- | --------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------- | | Storage miner + Node | Intel Xeon Platinum Processor 8358 (32 cores) | Nvidia GeForce RTX 3080 series or RTX 3090 | 128-256 GB | Unspecified | 1x lotus

1x lotus-miner | The miner delegates sealing functions to the workers below. | From a3439fc05e466dffc9e5c498b5ba3e539794e448 Mon Sep 17 00:00:00 2001 From: Johnny <9611008+johnnymatthews@users.noreply.github.com> Date: Mon, 3 Jan 2022 17:15:01 -0500 Subject: [PATCH 5/6] Formatting fixes. --- content/en/docs/set-up/multisig.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/content/en/docs/set-up/multisig.md b/content/en/docs/set-up/multisig.md index a393f164..0e760fe4 100644 --- a/content/en/docs/set-up/multisig.md +++ b/content/en/docs/set-up/multisig.md @@ -57,17 +57,17 @@ The value of `transactionID`, `proposerAddress`, `destinationAddress` and `value ## Cancel a pending multisig proposal - Use `lotus msig cancel` to cancel a pending multisig transaction. -```shell with-output +```shell lotus msig cancel walletAddress transactionID destinationAddress value - ``` + The value of `walletAddress`, `transactionID`, `destinationAddress` and `value` must match the values used in the proposal. Output of a successful cancel process. -``` + +```shell sent cancel in message: bafy2bzacebjy2limeu6mw4b6x5yqgdupxaqabprojwu72xlfhwkhgb5jcyr7c ``` ## Inspect a multisig wallet @@ -90,18 +90,17 @@ Transactions: 1 ID State Approvals To Value Method Params 0 pending 1 t1fjswymsauvfh5zxw34t2pgz7iev2fn56unyw6ci 20 FIL Send(0) ``` -## Inspect a multisig proposal - +## Inspect a multisig proposal Use `lotus-shed msg` to inspect the params of a message. -```shell with-output +```shell lotus-shed msg messageID - ``` + Output of a successful inspection on a multisig message. -``` +```plaintext --- Message Details: Value: 0 FIL From 8516ca9a88afbbcf9935f3db717ac5fc4187662e Mon Sep 17 00:00:00 2001 From: Johnny <9611008+johnnymatthews@users.noreply.github.com> Date: Mon, 3 Jan 2022 17:15:39 -0500 Subject: [PATCH 6/6] Adds closing codeblock. --- content/en/docs/set-up/multisig.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/set-up/multisig.md b/content/en/docs/set-up/multisig.md index 0e760fe4..4be6f91f 100644 --- a/content/en/docs/set-up/multisig.md +++ b/content/en/docs/set-up/multisig.md @@ -126,3 +126,4 @@ JSON: { } --- +```