Ver Fonte

darkfid: updated user_data comment to be more explicit

skoupidi há 1 ano atrás
pai
commit
1508921109

+ 6 - 3
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

+ 2 - 1
bin/darkfid/src/main.rs

@@ -112,7 +112,8 @@ pub struct BlockchainNetwork {
     spend_hook: Option<String>,
 
     #[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<String>,
 
     #[structopt(long)]

+ 2 - 1
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

+ 2 - 1
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

+ 2 - 1
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

+ 2 - 1
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

+ 2 - 1
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

+ 2 - 1
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

+ 2 - 1
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

+ 2 - 1
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