Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend evilwallet with account tooling #386

Merged
merged 106 commits into from
Oct 17, 2023
Merged

Conversation

daria305
Copy link
Contributor

@daria305 daria305 commented Sep 29, 2023

Only parts needed for proper functioning of old evil wallet functionalities are finished in this PR.

  • when spamming all generated mana is for now allotted to faucet accountID, later user would be able to provide account alias of account created with accounts tool

To test the spammer make sure to update: config.json fields with data used for snapshot creation, by defualts it is setup for docker network.

"genesisOutputID",  "blockIssuerPrivateKey", "accountID"

This PR solves parts of following issues:

Solved issue parts:

  • extend transaction builder in iota.go with accounts
  • align configuration setup with recent node changes
  • simple account spammer, we create new accounts from faucet funds, we do not handle those accounts
  • account handling tools separated from evil spammer, like go run . accounts
  • solution to keep the state with basic spammer, it creates wallet.dat file storing the wallet state
    - both accounts tool and evil spammer use the same accountsWallet read from wallet.dat file so we can
  • make sure mana is not lost during block creation for evil spammer, all mana is allot to the faucet
  • adapt to new outputID calculation principles
  • fix RMC endpoint nil reference error

Work with iota.go PR: iotaledger/iota.go#569

daria305 and others added 30 commits September 22, 2023 14:04
# Conflicts:
#	go.mod
#	go.sum
#	tools/evil-spammer/go.mod
#	tools/evil-spammer/go.sum
#	tools/gendoc/go.mod
#	tools/gendoc/go.sum
#	tools/genesis-snapshot/go.mod
#	tools/genesis-snapshot/go.sum
# Conflicts:
#	tools/evil-spammer/wallet/evilwallet.go
@daria305 daria305 marked this pull request as ready for review October 13, 2023 10:11
@daria305 daria305 enabled auto-merge October 17, 2023 14:34
@daria305 daria305 merged commit 0be4fe5 into develop Oct 17, 2023
5 checks passed
@daria305 daria305 deleted the feat/accounts-tooling branch October 17, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

evil spammer allotting Mana in tx and burning Mana in blocks according to RMC Evil Accounts spammer
3 participants