Encrypted Messages
-
Would someone be so kind to elaborate on the sending message features in the Wallet. I am interested in finding about the features sending an encrypted message.
- What does it mean not to broadcast? Broadcast where?
- Is there a fee necessary to send a msg?
- What is deadline hours? Does it effect the msg being sent immediately?
I look forward to the positive replies and learning more about this feature.
-
1: The message needs to be included in a block, before the person on the other end gets it. If you are not broadcasting it, you are not telling the network about the transaction, but instead only giving yourself a chance to mine it.
2: Yes, the standard 1 burst. This doesn't change if it is encrypted or not.
3: I think it means that the message needs to be included within a block before X hours. It doesn't affect how fast it gets included. I'm not 100% sure about the last one, so don't quote me on it.
-
No idea why someone should not broadcast a transaction, it needs to be known to network?!
This is what is set to send a message (not encrypted):
Map<String, String> parameters = new HashMap<>(); parameters.put("requestType", "sendMessage"); parameters.put("recipient", recipientId); parameters.put("feeNQT", "100000000"); // 1 BURST parameters.put("deadline", "1000"); // 1000 sec. parameters.put("message", message); parameters.put("messageIsText", "true"); parameters.put("secretPhrase", secretPhrase);You can just play with api, if something is missing/ went wrong, you will get a response that tells you.
@FrilledShark guess you are right about deadline, if transaction is not included in block within deadline, it will be reverted.
Basically all you do is a transaction, transactions can have attachments and type/subtype, that is how all features are implemented.
-
@luxe
The no broadcast setting is for pools which wants to collect the fees them self. It is currently used by ninja and burst-team for payouts.
Edit: I'm not sure if it is used by burst-team, but ninja and burst-team is running on the same software, so I guess it does.
-
@FrilledShark ok, so if i have some time, i can use higher deadline and collect my transactions until i find a block? Cool, never thought about that :-)
-
@luxe Yes, that would be possible.
-
@luxe said:
@FrilledShark ok, so if i have some time, i can use higher deadline and collect my transactions until i find a block? Cool, never thought about that :-)
No to be funny but you lost me here. Can you please elaborate/clarify on your response?
-
@FXALTareeq
This may help you to understand https://forums.burst-team.us/topic/299/error-does-not-match-pool-s-account/13.Your local wallet would be the only one to know transactions, that are not broadcasted.
Once you find a block, the transactions will be published within the block.
You earn the transaction fees.Or the other way round, if you manage it to send transactions only on blocks you find/win. You pay no transaction fees.
