symbol / symbol-cli

Command-line tool for Symbol
https://docs.symbolplatform.com/cli.html
Apache License 2.0
36 stars 24 forks source link

Allow changing transaction deadlines #373

Open segfaultxavi opened 3 years ago

segfaultxavi commented 3 years ago

Right now all transactions are created with the default deadline of 2h via Deadline.create(profile.epochAdjustment).

A new global parameter could be added to symbol-cli so the user can provide this deadline to all transactions.

Right now, only multisigmodification transactions have a --deadline parameter, but it is complicated to use, as it requires the number of ms since Nemesis block. It would be more natural to use the number of seconds from now.