iron-fish / ironfish

A novel cryptocurrency focused on privacy and accessibility.
https://ironfish.network
Mozilla Public License 2.0
964 stars 579 forks source link

supports setting createdAt on account import #5062

Closed hughy closed 2 weeks ago

hughy commented 2 weeks ago

Summary

adds a 'createdAt' field to ImportAccountRequest that takes a sequence to use for the account's createdAt field

if a 'createdAt' sequence is passed to importAccount, then the account's createdAt uses that sequence and an empty hash (hash is no longer used in createdAt)

adds createdAt flag to wallet:import command

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API Reference)? If yes, link a related documentation pull request for the website.

[X] Yes

https://github.com/iron-fish/website/pull/712

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes