From 15089211092b8e7769e67b050b536e72b938395d Mon Sep 17 00:00:00 2001 From: skoupidi Date: Sun, 18 May 2025 21:55:36 +0300 Subject: [PATCH] darkfid: updated user_data comment to be more explicit --- bin/darkfid/darkfid_config.toml | 9 ++++++--- bin/darkfid/src/main.rs | 3 ++- contrib/localnet/darkfid-five-nodes/darkfid0.toml | 3 ++- contrib/localnet/darkfid-five-nodes/darkfid1.toml | 3 ++- contrib/localnet/darkfid-five-nodes/darkfid2.toml | 3 ++- contrib/localnet/darkfid-five-nodes/darkfid3.toml | 3 ++- contrib/localnet/darkfid-five-nodes/darkfid4.toml | 3 ++- contrib/localnet/darkfid-single-node/darkfid.toml | 3 ++- contrib/localnet/darkfid-small/darkfid0.toml | 3 ++- contrib/localnet/darkfid-small/darkfid1.toml | 3 ++- 10 files changed, 24 insertions(+), 12 deletions(-) diff --git a/bin/darkfid/darkfid_config.toml b/bin/darkfid/darkfid_config.toml index a2c7994c0..a1805462d 100644 --- a/bin/darkfid/darkfid_config.toml +++ b/bin/darkfid/darkfid_config.toml @@ -29,7 +29,8 @@ pow_target = 120 # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away @@ -163,7 +164,8 @@ pow_target = 120 # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away @@ -304,7 +306,8 @@ recipient = "5ZHfYpt4mpJcwBNxfEyxLzeFJUEeoePs5NQ5jVEgHrMf" # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away diff --git a/bin/darkfid/src/main.rs b/bin/darkfid/src/main.rs index dcd7cff92..1f3ce0e99 100644 --- a/bin/darkfid/src/main.rs +++ b/bin/darkfid/src/main.rs @@ -112,7 +112,8 @@ pub struct BlockchainNetwork { spend_hook: Option, #[structopt(long)] - /// Optional user data to use in the mining reward + /// Optional contract user data to use in the mining reward. + /// This is not arbitrary data. user_data: Option, #[structopt(long)] diff --git a/contrib/localnet/darkfid-five-nodes/darkfid0.toml b/contrib/localnet/darkfid-five-nodes/darkfid0.toml index b1456c5a3..e9c9cdc63 100644 --- a/contrib/localnet/darkfid-five-nodes/darkfid0.toml +++ b/contrib/localnet/darkfid-five-nodes/darkfid0.toml @@ -34,7 +34,8 @@ recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U" # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away diff --git a/contrib/localnet/darkfid-five-nodes/darkfid1.toml b/contrib/localnet/darkfid-five-nodes/darkfid1.toml index dc008ee11..932598b93 100644 --- a/contrib/localnet/darkfid-five-nodes/darkfid1.toml +++ b/contrib/localnet/darkfid-five-nodes/darkfid1.toml @@ -31,7 +31,8 @@ recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U" # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away diff --git a/contrib/localnet/darkfid-five-nodes/darkfid2.toml b/contrib/localnet/darkfid-five-nodes/darkfid2.toml index 10c108414..73ec30f03 100644 --- a/contrib/localnet/darkfid-five-nodes/darkfid2.toml +++ b/contrib/localnet/darkfid-five-nodes/darkfid2.toml @@ -31,7 +31,8 @@ recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U" # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away diff --git a/contrib/localnet/darkfid-five-nodes/darkfid3.toml b/contrib/localnet/darkfid-five-nodes/darkfid3.toml index a79d9002c..22957b101 100644 --- a/contrib/localnet/darkfid-five-nodes/darkfid3.toml +++ b/contrib/localnet/darkfid-five-nodes/darkfid3.toml @@ -31,7 +31,8 @@ recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U" # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away diff --git a/contrib/localnet/darkfid-five-nodes/darkfid4.toml b/contrib/localnet/darkfid-five-nodes/darkfid4.toml index 291221551..72b51a9d5 100644 --- a/contrib/localnet/darkfid-five-nodes/darkfid4.toml +++ b/contrib/localnet/darkfid-five-nodes/darkfid4.toml @@ -31,7 +31,8 @@ recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U" # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away diff --git a/contrib/localnet/darkfid-single-node/darkfid.toml b/contrib/localnet/darkfid-single-node/darkfid.toml index dafabe1cd..b5114c4e2 100644 --- a/contrib/localnet/darkfid-single-node/darkfid.toml +++ b/contrib/localnet/darkfid-single-node/darkfid.toml @@ -34,7 +34,8 @@ recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U" # Optional contract spend hook to use in the mining reward #spend_hook = "6iW9nywZYvyhcM7P1iLwYkh92rvYtREDsC8hgqf2GLuT" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away diff --git a/contrib/localnet/darkfid-small/darkfid0.toml b/contrib/localnet/darkfid-small/darkfid0.toml index d0eefa554..e4c0677c1 100644 --- a/contrib/localnet/darkfid-small/darkfid0.toml +++ b/contrib/localnet/darkfid-small/darkfid0.toml @@ -31,7 +31,8 @@ recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U" # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away diff --git a/contrib/localnet/darkfid-small/darkfid1.toml b/contrib/localnet/darkfid-small/darkfid1.toml index 8d96ac938..963c6646b 100644 --- a/contrib/localnet/darkfid-small/darkfid1.toml +++ b/contrib/localnet/darkfid-small/darkfid1.toml @@ -39,7 +39,8 @@ recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U" # Optional contract spend hook to use in the mining reward #spend_hook = "YOUR_SPEND_HOOK_HERE" -# Optional user data to use in the mining reward +# Optional contract user data to use in the mining reward. +# This is not arbitrary data. #user_data = "YOUR_USER_DATA_HERE" # Skip syncing process and start node right away