Max number of blocks for voting system

Hello!
What is the exact max number of blocks till the end of a poll in the voting system?
I know it’s 2 weeks, I could do the math, but just want to be sure.
Thanks

1 Like

Hi Wire,
The exact max number of blocks is specified in the Constants.java file of the Ardor source code: https://bitbucket.org/Jelurida/ardor/src/master/src/java/nxt/Constants.java
So you can see the following line:
public static final int MAX_POLL_DURATION = 14 * 1440;
It is 20160 blocks then

1 Like

Hey Alberto!
Thanks for the answer! :+1:

PS: very nice forum! I like it very much

1 Like