iotaledger / iri

IOTA Reference Implementation
Other
1.15k stars 370 forks source link

Force depth 0 #1834

Closed kwek20 closed 4 years ago

kwek20 commented 4 years ago

Description

As compass is using depth 1, we force our gtta to always be depth 0

Fixes some issues with GTTA spammers, makes the network faster as well

Type of change

How Has This Been Tested?

It builds, huray, what a suprise

Checklist:

kwek20 commented 4 years ago

All tests still work fine. ive chosen to leave them as is to not introduce accidents. Once we remove the depth parameter everywhere, we should change the tests as well

GalRogozinski commented 4 years ago

Alrite, open an issue on this please so we (or at least I) won't forget