mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-23 12:09:49 +00:00
Merge pull request !932
Wallet RPC: Correct proving process typo (from transaction to spend and reserve, and s/as/has/) See merge request monero-project/monero-site!932
This commit is contained in:
commit
5d5b957078
5 changed files with 40 additions and 40 deletions
|
@ -1570,7 +1570,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; spend signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1596,11 +1596,11 @@ Inputs:
|
|||
|
||||
* *txid* - string; transaction id.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_spend_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; spend signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the spend.
|
||||
|
||||
In the example below, the spend has been proven:
|
||||
|
||||
|
@ -1644,7 +1644,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; reserve signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1662,7 +1662,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
|
||||
### **check_reserve_proof**
|
||||
|
||||
Proves a wallet as a disposable reserve using a signature.
|
||||
Proves a wallet has a disposable reserve using a signature.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
|
@ -1670,11 +1670,11 @@ Inputs:
|
|||
|
||||
* *address* - string; Public address of the wallet.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_reserve_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; reserve signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the reserve.
|
||||
|
||||
In the example below, the reserve has been proven:
|
||||
|
||||
|
@ -1706,7 +1706,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
}
|
||||
```
|
||||
|
||||
In the example below, the wrong message is used, avoiding the transaction to be proved:
|
||||
In the example below, the wrong message is used, avoiding the reserve to be proved:
|
||||
|
||||
```
|
||||
$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"check_spend_proof","params":{"txid":"19d5089f9469db3d90aca9024dfcb17ce94b948300101c8345a5e9f7257353be","message":"wrong message","signature":"SpendProofV1aSh8Todhk54736iXgV6vJAFP7egxByuMWZeyNDaN2JY737S95X5zz5mNMQSuCNSLjjhi5HJCsndpNWSNVsuThxwv285qy1KkUrLFRkxMSCjfL6bbycYN33ScZ5UB4Fzseceo1ndpL393T1q638VmcU3a56dhNHF1RPZFiGPS61FA78nXFSqE9uoKCCoHkEz83M1dQVhxZV5CEPF2P6VioGTKgprLCH9vvj9k1ivd4SX19L2VSMc3zD1u3mkR24ioETvxBoLeBSpxMoikyZ6inhuPm8yYo9YWyFtQK4XYfAV9mJ9knz5fUPXR8vvh7KJCAg4dqeJXTVb4mbMzYtsSZXHd6ouWoyCd6qMALdW8pKhgMCHcVYMWp9X9WHZuCo9rsRjRpg15sJUw7oJg1JoGiVgj8P4JeGDjnZHnmLVa5bpJhVCbMhyM7JLXNQJzFWTGC27TQBbthxCfQaKdusYnvZnKPDJWSeceYEFzepUnsWhQtyhbb73FzqgWC4eKEFKAZJqT2LuuSoxmihJ9acnFK7Ze23KTVYgDyMKY61VXADxmSrBvwUtxCaW4nQtnbMxiPMNnDMzeixqsFMBtN72j5UqhiLRY99k6SE7Qf5f29haNSBNSXCFFHChPKNTwJrehkofBdKUhh2VGPqZDNoefWUwfudeu83t85bmjv8Q3LrQSkFgFjRT5tLo8TMawNXoZCrQpyZrEvnodMDDUUNf3NL7rxyv3gM1KrTWjYaWXFU2RAsFee2Q2MTwUW7hR25cJvSFuB1BX2bfkoCbiMk923tHZGU2g7rSKF1GDDkXAc1EvFFD4iGbh1Q5t6hPRhBV8PEncdcCWGq5uAL5D4Bjr6VXG8uNeCy5oYWNgbZ5JRSfm7QEhPv8Fy9AKMgmCxDGMF9dVEaU6tw2BAnJavQdfrxChbDBeQXzCbCfep6oei6n2LZdE5Q84wp7eoQFE5Cwuo23tHkbJCaw2njFi3WGBbA7uGZaGHJPyB2rofTWBiSUXZnP2hiE9bjJghAcDm1M4LVLfWvhZmFEnyeru3VWMETnetz1BYLUC5MJGFXuhnHwWh7F6r74FDyhdswYop4eWPbyrXMXmUQEccTGd2NaT8g2VHADZ76gMC6BjWESvcnz2D4n8XwdmM7ZQ1jFwhuXrBfrb1dwRasyXxxHMGAC2onatNiExyeQ9G1W5LwqNLAh9hvcaNTGaYKYXoceVzLkgm6e5WMkLsCwuZXvB"}}' -H 'Content-Type: application/json'
|
||||
|
|
|
@ -1570,7 +1570,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; spend signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1596,11 +1596,11 @@ Inputs:
|
|||
|
||||
* *txid* - string; transaction id.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_spend_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; spend signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the spend.
|
||||
|
||||
In the example below, the spend has been proven:
|
||||
|
||||
|
@ -1644,7 +1644,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; reserve signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1662,7 +1662,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
|
||||
### **check_reserve_proof**
|
||||
|
||||
Proves a wallet as a disposable reserve using a signature.
|
||||
Proves a wallet has a disposable reserve using a signature.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
|
@ -1670,11 +1670,11 @@ Inputs:
|
|||
|
||||
* *address* - string; Public address of the wallet.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_reserve_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; reserve signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the reserve.
|
||||
|
||||
In the example below, the reserve has been proven:
|
||||
|
||||
|
@ -1706,7 +1706,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
}
|
||||
```
|
||||
|
||||
In the example below, the wrong message is used, avoiding the transaction to be proved:
|
||||
In the example below, the wrong message is used, avoiding the reserve to be proved:
|
||||
|
||||
```
|
||||
$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"check_spend_proof","params":{"txid":"19d5089f9469db3d90aca9024dfcb17ce94b948300101c8345a5e9f7257353be","message":"wrong message","signature":"SpendProofV1aSh8Todhk54736iXgV6vJAFP7egxByuMWZeyNDaN2JY737S95X5zz5mNMQSuCNSLjjhi5HJCsndpNWSNVsuThxwv285qy1KkUrLFRkxMSCjfL6bbycYN33ScZ5UB4Fzseceo1ndpL393T1q638VmcU3a56dhNHF1RPZFiGPS61FA78nXFSqE9uoKCCoHkEz83M1dQVhxZV5CEPF2P6VioGTKgprLCH9vvj9k1ivd4SX19L2VSMc3zD1u3mkR24ioETvxBoLeBSpxMoikyZ6inhuPm8yYo9YWyFtQK4XYfAV9mJ9knz5fUPXR8vvh7KJCAg4dqeJXTVb4mbMzYtsSZXHd6ouWoyCd6qMALdW8pKhgMCHcVYMWp9X9WHZuCo9rsRjRpg15sJUw7oJg1JoGiVgj8P4JeGDjnZHnmLVa5bpJhVCbMhyM7JLXNQJzFWTGC27TQBbthxCfQaKdusYnvZnKPDJWSeceYEFzepUnsWhQtyhbb73FzqgWC4eKEFKAZJqT2LuuSoxmihJ9acnFK7Ze23KTVYgDyMKY61VXADxmSrBvwUtxCaW4nQtnbMxiPMNnDMzeixqsFMBtN72j5UqhiLRY99k6SE7Qf5f29haNSBNSXCFFHChPKNTwJrehkofBdKUhh2VGPqZDNoefWUwfudeu83t85bmjv8Q3LrQSkFgFjRT5tLo8TMawNXoZCrQpyZrEvnodMDDUUNf3NL7rxyv3gM1KrTWjYaWXFU2RAsFee2Q2MTwUW7hR25cJvSFuB1BX2bfkoCbiMk923tHZGU2g7rSKF1GDDkXAc1EvFFD4iGbh1Q5t6hPRhBV8PEncdcCWGq5uAL5D4Bjr6VXG8uNeCy5oYWNgbZ5JRSfm7QEhPv8Fy9AKMgmCxDGMF9dVEaU6tw2BAnJavQdfrxChbDBeQXzCbCfep6oei6n2LZdE5Q84wp7eoQFE5Cwuo23tHkbJCaw2njFi3WGBbA7uGZaGHJPyB2rofTWBiSUXZnP2hiE9bjJghAcDm1M4LVLfWvhZmFEnyeru3VWMETnetz1BYLUC5MJGFXuhnHwWh7F6r74FDyhdswYop4eWPbyrXMXmUQEccTGd2NaT8g2VHADZ76gMC6BjWESvcnz2D4n8XwdmM7ZQ1jFwhuXrBfrb1dwRasyXxxHMGAC2onatNiExyeQ9G1W5LwqNLAh9hvcaNTGaYKYXoceVzLkgm6e5WMkLsCwuZXvB"}}' -H 'Content-Type: application/json'
|
||||
|
|
|
@ -1570,7 +1570,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; spend signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1596,11 +1596,11 @@ Inputs:
|
|||
|
||||
* *txid* - string; transaction id.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_spend_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; spend signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the spend.
|
||||
|
||||
In the example below, the spend has been proven:
|
||||
|
||||
|
@ -1644,7 +1644,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; reserve signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1662,7 +1662,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
|
||||
### **check_reserve_proof**
|
||||
|
||||
Proves a wallet as a disposable reserve using a signature.
|
||||
Proves a wallet has a disposable reserve using a signature.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
|
@ -1670,11 +1670,11 @@ Inputs:
|
|||
|
||||
* *address* - string; Public address of the wallet.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_reserve_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; reserve signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the reserve.
|
||||
|
||||
In the example below, the reserve has been proven:
|
||||
|
||||
|
@ -1706,7 +1706,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
}
|
||||
```
|
||||
|
||||
In the example below, the wrong message is used, avoiding the transaction to be proved:
|
||||
In the example below, the wrong message is used, avoiding the reserve to be proved:
|
||||
|
||||
```
|
||||
$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"check_spend_proof","params":{"txid":"19d5089f9469db3d90aca9024dfcb17ce94b948300101c8345a5e9f7257353be","message":"wrong message","signature":"SpendProofV1aSh8Todhk54736iXgV6vJAFP7egxByuMWZeyNDaN2JY737S95X5zz5mNMQSuCNSLjjhi5HJCsndpNWSNVsuTh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xHMGAC2onatNiExyeQ9G1W5LwqNLAh9hvcaNTGaYKYXoceVzLkgm6e5WMkLsCwuZXvB"}}' -H 'Content-Type: application/json'
|
||||
|
|
|
@ -1570,7 +1570,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; spend signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1596,11 +1596,11 @@ Inputs:
|
|||
|
||||
* *txid* - string; transaction id.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_spend_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; spend signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the spend.
|
||||
|
||||
In the example below, the spend has been proven:
|
||||
|
||||
|
@ -1644,7 +1644,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; reserve signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1662,7 +1662,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
|
||||
### **check_reserve_proof**
|
||||
|
||||
Proves a wallet as a disposable reserve using a signature.
|
||||
Proves a wallet has a disposable reserve using a signature.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
|
@ -1670,11 +1670,11 @@ Inputs:
|
|||
|
||||
* *address* - string; Public address of the wallet.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_reserve_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; reserve signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the reserve.
|
||||
|
||||
In the example below, the reserve has been proven:
|
||||
|
||||
|
@ -1706,7 +1706,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
}
|
||||
```
|
||||
|
||||
In the example below, the wrong message is used, avoiding the transaction to be proved:
|
||||
In the example below, the wrong message is used, avoiding the reserve to be proved:
|
||||
|
||||
```
|
||||
$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"check_spend_proof","params":{"txid":"19d5089f9469db3d90aca9024dfcb17ce94b948300101c8345a5e9f7257353be","message":"wrong message","signature":"SpendProofV1aSh8Todhk54736iXgV6vJAFP7egxByuMWZeyNDaN2JY737S95X5zz5mNMQSuCNSLjjhi5HJCsndpNWSNVsuThxwv285qy1KkUrLFRkxMSCjfL6bbycYN33ScZ5UB4Fzseceo1ndpL393T1q638VmcU3a56dhNHF1RPZFiGPS61FA78nXFSqE9uoKCCoHkEz83M1dQVhxZV5CEPF2P6VioGTKgprLCH9vvj9k1ivd4SX19L2VSMc3zD1u3mkR24ioETvxBoLeBSpxMoikyZ6inhuPm8yYo9YWyFtQK4XYfAV9mJ9knz5fUPXR8vvh7KJCAg4dqeJXTVb4mbMzYtsSZXHd6ouWoyCd6qMALdW8pKhgMCHcVYMWp9X9WHZuCo9rsRjRpg15sJUw7oJg1JoGiVgj8P4JeGDjnZHnmLVa5bpJhVCbMhyM7JLXNQJzFWTGC27TQBbthxCfQaKdusYnvZnKPDJWSeceYEFzepUnsWhQtyhbb73FzqgWC4eKEFKAZJqT2LuuSoxmihJ9acnFK7Ze23KTVYgDyMKY61VXADxmSrBvwUtxCaW4nQtnbMxiPMNnDMzeixqsFMBtN72j5UqhiLRY99k6SE7Qf5f29haNSBNSXCFFHChPKNTwJrehkofBdKUhh2VGPqZDNoefWUwfudeu83t85bmjv8Q3LrQSkFgFjRT5tLo8TMawNXoZCrQpyZrEvnodMDDUUNf3NL7rxyv3gM1KrTWjYaWXFU2RAsFee2Q2MTwUW7hR25cJvSFuB1BX2bfkoCbiMk923tHZGU2g7rSKF1GDDkXAc1EvFFD4iGbh1Q5t6hPRhBV8PEncdcCWGq5uAL5D4Bjr6VXG8uNeCy5oYWNgbZ5JRSfm7QEhPv8Fy9AKMgmCxDGMF9dVEaU6tw2BAnJavQdfrxChbDBeQXzCbCfep6oei6n2LZdE5Q84wp7eoQFE5Cwuo23tHkbJCaw2njFi3WGBbA7uGZaGHJPyB2rofTWBiSUXZnP2hiE9bjJghAcDm1M4LVLfWvhZmFEnyeru3VWMETnetz1BYLUC5MJGFXuhnHwWh7F6r74FDyhdswYop4eWPbyrXMXmUQEccTGd2NaT8g2VHADZ76gMC6BjWESvcnz2D4n8XwdmM7ZQ1jFwhuXrBfrb1dwRasyXxxHMGAC2onatNiExyeQ9G1W5LwqNLAh9hvcaNTGaYKYXoceVzLkgm6e5WMkLsCwuZXvB"}}' -H 'Content-Type: application/json'
|
||||
|
|
|
@ -1570,7 +1570,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; spend signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1596,11 +1596,11 @@ Inputs:
|
|||
|
||||
* *txid* - string; transaction id.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_spend_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; spend signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the spend.
|
||||
|
||||
In the example below, the spend has been proven:
|
||||
|
||||
|
@ -1644,7 +1644,7 @@ Inputs:
|
|||
|
||||
Outputs:
|
||||
|
||||
* *signature* - string; transaction signature.
|
||||
* *signature* - string; reserve signature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -1662,7 +1662,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
|
||||
### **check_reserve_proof**
|
||||
|
||||
Proves a wallet as a disposable reserve using a signature.
|
||||
Proves a wallet has a disposable reserve using a signature.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
|
@ -1670,11 +1670,11 @@ Inputs:
|
|||
|
||||
* *address* - string; Public address of the wallet.
|
||||
* *message* - string; (Optional) Should be the same message used in `get_reserve_proof`.
|
||||
* *signature* - string; transaction signature to confirm.
|
||||
* *signature* - string; reserve signature to confirm.
|
||||
|
||||
Outputs:
|
||||
|
||||
* *good* - boolean; States if the inputs proves the transaction.
|
||||
* *good* - boolean; States if the inputs proves the reserve.
|
||||
|
||||
In the example below, the reserve has been proven:
|
||||
|
||||
|
@ -1706,7 +1706,7 @@ $ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
}
|
||||
```
|
||||
|
||||
In the example below, the wrong message is used, avoiding the transaction to be proved:
|
||||
In the example below, the wrong message is used, avoiding the reserve to be proved:
|
||||
|
||||
```
|
||||
$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"check_spend_proof","params":{"txid":"19d5089f9469db3d90aca9024dfcb17ce94b948300101c8345a5e9f7257353be","message":"wrong message","signature":"SpendProofV1aSh8Todhk54736iXgV6vJAFP7egxByuMWZeyNDaN2JY737S95X5zz5mNMQSuCNSLjjhi5HJCsndpNWSNVsuThxwv285qy1KkUrLFRkxMSCjfL6bbycYN33ScZ5UB4Fzseceo1ndpL393T1q638VmcU3a56dhNHF1RPZFiGPS61FA78nXFSqE9uoKCCoHkEz83M1dQVhxZV5CEPF2P6VioGTKgprLCH9vvj9k1ivd4SX19L2VSMc3zD1u3mkR24ioETvxBoLeBSpxMoikyZ6inhuPm8yYo9YWyFtQK4XYfAV9mJ9knz5fUPXR8vvh7KJCAg4dqeJXTVb4mbMzYtsSZXHd6ouWoyCd6qMALdW8pKhgMCHcVYMWp9X9WHZuCo9rsRjRpg15sJUw7oJg1JoGiVgj8P4JeGDjnZHnmLVa5bpJhVCbMhyM7JLXNQJzFWTGC27TQBbthxCfQaKdusYnvZnKPDJWSeceYEFzep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